[Home] [By Thread] [By Date] [Recent Entries]
i think this is quite straight forward if i understood your question
correctly.
lets assume you have an xml, <country> <state> <city/> <city> </state> <state> <city/> <city> </state> <state> <city/> <city> </state> </country> a stylesheet <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="country"> <!--process country nodes--> <xsl:apply-templates/> </xsl:template> <xsl:template match="state"> <!--process state nodes--> <xsl:apply-templates/> </xsl:template> <xsl:template match="city"> <!--process city nodes--> <xsl:apply-templates/> </xsl:template> </xsl:stylesheet> will basically match templates to all levels. I mean,if this is what you need,I reckon you must have missed reading the initial chapters of any standard xslt book. vasu From: garry@xxxxxxxxxxxxxxxxxxx Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: possible nested loops Date: Tue, 14 Feb 2006 22:20:57 -0000 (GMT) _________________________________________________________________ Are you using the latest version of MSN Messenger? Download MSN Messenger 7.5 today! http://messenger.msn.co.uk
|

Cart



