Subject: [xsl] copying source tree with suttle changes From: "Roshan Sharma" <roshansharma@xxxxxxxxxxx> Date: Tue, 13 Mar 2001 16:36:15 |
I used Oliver Becker's example to copy the source, excepting minor changes in the company/office node as follows:
<xsl:template match="customer[office]"> <office> office things </office> <xsl:apply-templates select="*" /> </xsl:template> </xsl:stylesheet>
<customer name="one" revenue="1000000000" employees="20000" contact-person="blah" contact-email="blah@xxxxxxxx" > <office city="new_york" revenue="20000" rent="3000" />
<office city="london" revenue="30000" rent="2000" /> </customer>
output ---> office things
I was expecting the copy of the rest of the source tree excepting at customer/office node.
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: multi-phase transformatio, Michael Kay | Thread | Re: [xsl] copying source tree with , David Carlisle |
[no subject], Alex Reuter | Date | RE: [xsl] namespace values, Leigh Dodds |
Month |