Subject: RE: [xsl] exclude-result-prefixes issue From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 27 May 2004 09:15:59 +0100 |
> My problem now is my output looks like > > <?xml version="1.0"?> > <SOAP-ENV:Envelope > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsd="http://www.w3.org/1999/XMLSchema" > xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > <SOAP-ENV:Header > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> This output contains a redundant namespace declaration for SOAP-ENV on the Header element. I would expect most decent XSLT processors to avoid outputting redundant namespace declarations, but it is not actually an error since the two documents are equivalent, and it is not something you can control. Which processor are you using? Michael Kay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] exclude-result-prefixes i, Matt Frank | Thread | Re: [xsl] exclude-result-prefixes i, James A. Robinson |
RE: [xsl] XHTML [WAS: Grouping into, Daniel Joshua | Date | [xsl] MSXML and unwanted entity out, Alex Scott |
Month |