Subject: [xsl] Namespaces. From: Kamal Bhatt <kbhatt@xxxxxxxxx> Date: Thu, 30 Mar 2006 11:30:43 +1100 |
Hi I want have the following:
<files> <supplier> ... </supplier> <customRows> .. </customRows> </files>
<xsl:template match="sup:supplier"> <supplier> <xsl:apply-templates select="@*|node()"/> <supplementary> <xsl:apply-templates select="../customRows"/> </supplementary> </supplier> </xsl:template>
<xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet>
-- Kamal Bhatt
T: +61 (02) 9956 7300 F: +61 (02) 9956 7411
-- Disclaimer: This email is confidential and may contain privileged information for the sole use of the person or business to which it is addressed. If you are not the intended recipient, please notify the sender by return e-mail or phone as you must not view, disseminate, distribute or copy this email without our consent. We do not accept any liability in connection with any computer virus, data corruption, incompleteness, or unauthorised amendment of this email. It is the sole responsibility of the receiver to scan for viruses before opening.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Filter duplicates in current-, Don Smith | Thread | RE: [xsl] Namespaces., Michael Kay |
Re: [xsl] XSL template "namespace" , Wendell Piez | Date | Re: [xsl] XSL template "namespace" , Ian Bonnycastle |
Month |