xsl-list
[Top] [All Lists]

[xsl] How to create multiple Html files considering attribute values in XML

2011-08-20 12:26:54
Hi all,
   I want to create multiple Html files considering attribute values in XML.

My XML

<School>

<Student age="17">
<firstname>kasun</firstname>
<lastname>lakpriya<lastname>
</Student>
<Student age="17">
<firstname>thiwanka</firstname>
<lastname>somasiri</lastname>
</Student>
<Student age="20">
<firstname>eshan</firstname>
<lastname>sudharaka</lastname>
</Student>
<Student id="20">
<firstname>haritha</firstname>
<lastname>tennakoon</lastname>
</Student>
<School>

   I want to generate two html files and each should contain the
details of students with same age.(here one html for students with age
17 and the other for age 20).How can I implement this in XSLT?Any help
is welcome.Thank you

Regards
Sanjaya Liyanage

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>