OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] XSLT Grouping

[ 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/


From: Bisht Anand [mailto:Anand.Bisht@capco.com]
Sent: 16 December 2005 12:52
To: xml-dev@lists.xml.org
Subject: [xml-dev] XSLT Grouping

Hi,

Im 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/

************************************************************************

  • References:



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS