Subject: Re: [xsl] Style sheet to perform namespace mapping from input to output From: David Carlisle <davidc@xxxxxxxxx> Date: Sat, 22 Mar 2008 17:05:34 GMT |
declare old and new prefixes on xsl:stylesheet, then something like <xsl:template match="old:*"> <xsl:element name="new:{local-name(.)"> <xsl:copy-of select="@*"/> <xsl;apply-templates/> </xsl:element"> </xsl:template> David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Style sheet to perform namesp, Farrukh Najmi | Thread | Re: [xsl] Style sheet to perform na, Farrukh Najmi |
Re: [xsl] Transforming augmented XH, Aaron Gray | Date | Re: [xsl] What does this XPath expr, Kevin Grover |
Month |