|
Subject: RE: [xsl] xmlns="" / XML to XHTML From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 13 Sep 2005 11:21:05 +0100 |
> 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/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] xmlns="" / XML to XHTML, Alexander Nichau | Thread | RE: [xsl] xmlns="" / XML to XHTML, Michael Kay |
| RE: [xsl] First character in a word, Michael Kay | Date | Re: [xsl] First character in a word, Joris Gillis |
| Month |