Subject: [xsl] Generating namespace nodes From: "Norbert Hranitzky" <norbert.hranitzky@xxxxxxxxxxxxxxx> Date: Tue, 4 Sep 2001 10:41:18 +0200 |
I have the following problem: The XML file has th form: <?xml version="1.0" encoding="ISO-8859-1"?> <pageTemplate xmlns:xscap="urn:xscap"> <main> <xscap:wc id="e1"/> </main> </pageTemplate> The XSLT stylesheet does not know which elements the element "main" contains, (the same is true for the namespaces used in these elements) it copies the content to the output. What I expect (more exactly ASP.NET) is: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xscap="urn:xscap> ... <span> <xscap:wc id="e1" /> </span> ... </html> The problem is, xsl:copy-of creates an namespace node in the element xscap:wc, but ASP.NET does not like it. Are there any tricks to generate the expected output? Thanks Norbert XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XML to FLAT FILE, Benoit_Aumars | Thread | Re: [xsl] Generating namespace node, Aleksei Valikov |
RE: [xsl] XML to FLAT FILE, Benoit_Aumars | Date | Re: [xsl] xslt svg problem, Max Nitribitt |
Month |