[
Lists Home |
Date Index |
Thread Index
]
Title: XSLT Grouping
XSLT coding questions are best asked on the xsl-list at
muberrytech.com.
It's difficult to understand from your question what you
want to achieve: supplying the desired output is often a good way of explaining
the requirements. It's also useful to give a hint as to how you have tried to
solve the problem - that will help people know how far up the learning curve you
are.
Michael Kay
http://www.saxonica.com/
Hi,
I’m bit new to xslt world, could anyone help me to associate
the child parent relationship in grouping as an example of xml file
to group using of xslt.
<root>
<table>
<id>1</id>
<parentid>0</parentedid>
<title>Test1</title>
<desc></desc>
</table>
<table>
<id>2</id>
<parentid>1</parentedid>
<title>Test1</title>
<desc></desc>
</table>
<table>
<id>3</id>
<parentid>1</parentedid>
<title>Test1</title>
<desc></desc>
</table>
<table>
<id>4</id>
<parentid>3</parentedid>
<title>Test1</title>
<desc></desc>
</table>
<table>
<id>10</id>
<parentid>3</parentedid>
<title>Test1</title>
<desc></desc>
</table>
</root>
Regards
Singh
************************************************************************ The
information in this email is confidential and is intended solely for
the addressee(s). Access to this email by anyone else is
unauthorized. If you are not an intended recipient, please notify the
sender of this email immediately. You should not copy, use or
disseminate the information contained in the email. Any views
expressed in this message are those of the individual sender, except
where the sender specifically states them to be the views of
Capco.
http://www.capco.com/
************************************************************************
|
|