Subject: Re: [xsl] xsl From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 19 Mar 2001 17:16:59 GMT |
<xsl:template match="text"> HERE THE PROBLEM starts, because the 'customer' tags can occur everywhere within the 'text'-tag in xml. AND how can I get the text on the one hand and on the other hand the customer stuff in sequence order as they occur in the xml file????? </xsl:template> That is the default behaviour for XSL, so you just want <xsl:template match="text"> <xsl;apply-templates/> </xsl:template> (or no template for text at all, as that is the default) The character data in text will be copied to the output, and each customer element will be transformed by whatever you specify in <xsl:template match="customer">...</xsl:template> <xsl:template match="customerdata">...</xsl:template> David and _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre. For further information visit http://www.star.net.uk/stats.asp XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl, Robert Koberg | Thread | [xsl] xsl, Tom Melkonian |
Re: [xsl] xsl, Robert Koberg | Date | Re: [xsl] Re: keys and unique IDs, David Carlisle |
Month |