|
-
May 3rd, 2010, 04:47 AM
#10
Re: How to create XSLT for my XML doc?
Sometimes we need to display the data that are present in a xml file in a tabular format. Following code explan how to display a tabular format of the XML file by applying XSL stylesheet.
XML-FILE
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="showtableformat.xsl"?>
<StudentInfo>
<Students>
<FirstName>Monali</FirstName>
<LastName> Nayak </LastName>
</Students>
<Students>
<FirstName>Sarita</FirstName>
<LastName> Dash </LastName>
</Students>
<Students>
<FirstName>Asrita</FirstName>
<LastName> Pandit </LastName>
</Students>
</StudentInfo>
http://www.mindfiresolutions.com/How...ng-XSL-472.php
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|