[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL puzzle
> Pl. help me find why the xsl would not work for the given xml. > Thanks. > > <xslt:template match="customer"> <!-- lots of stuff --> > <!-- File Systems for the customer --> > > <!-- More (nested) File systems --> > <xslt:apply-templates select="/customer/filesystem"/> > > <!-- More (nested) Customers > <xslt:apply-templates select="/customer"/> > --> > <!-- More Customers --> > <xsl:apply-templates /> > > <xslt:text>
 </xslt:text> > > </xslt:template> > Well that looks like an infinite recursion to me. While processing any customer, you are asking it to process the top-level customer ("/customer"). The comment suggests that you really want "select='customer'" Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|