Subject: Re: [xsl] Generating namespace nodes From: Francis Norton <francis@xxxxxxxxxxx> Date: Tue, 04 Sep 2001 10:22:13 +0100 |
Interesting - in what way does ASP.NET not like it? And have you tried generating output as XML? Francis. Norbert Hranitzky wrote: > > 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Value-Of a Parameter, Jeni Tennison | Thread | Réf. : RE: [xsl] XML to FLAT FILE, eswar . subramanyam |
Re: [xsl] Problem with conditional , Jeni Tennison | Date | [xsl] Value-Of a Parameter, Tanzila Mohammad |
Month |