|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xmlns="" / XML to XHTML
> Michael, you meant I should skip this example and modify my second
> example (based on pawson4s FAQ)?:
>
> <xsl:template match="*">
> <xsl:element name="{local-name()}"
> namespace="http://www.w3.org/1999/xhtml" >
> <xsl:apply-templates />
> </xsl:element>
> </xsl:template>
>
> So the problem there was, that my inner elements didn4t get the ns
> although the outer elements were created correct in the xhtml
> namespace.
> So I ask why does it not apply the namespace to the inner elements or
> what should I modify?
Perhaps you copied the inner elements using xsl:copy-of rather than
xsl:apply-templates, so the above template would have no effect. Just a
guess.
Michael Kay
http://www.saxonica.com/
|
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
|

Cart








