Subject: Re: [xsl] xmlns="" / XML to XHTML From: Alexander Nichau <ml@xxxxxxxxxx> Date: Tue, 13 Sep 2005 13:45:54 +0200 |
If you've written an <html> element in the XHTML namespace, and then copy the <h2> element from the source as a child of this, then I would expect the xmlns="" to appear. That's because the <h2> element is in no namespace. It must stay in the same namespace (or non-namespace) when copied, and the only way to keep it in the non-namespace is to add an xmlns="" declaration.
<html lang="de" xml:lang="de"> <xsl:attribute name="xmlns">http://www.w3.org/1999/xhtml</xsl:attribute>
So far, Alexander
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xmlns="" / XML to XHTML, Lynn Alford | Thread | RE: [xsl] xmlns="" / XML to XHTML, Michael Kay |
Re: [xsl] First character in a word, Joris Gillis | Date | [xsl] Setting multiple params or va, Anthony Green |
Month |