RE: exclude-result-prefixes issue
I am using Xalan. Regards, Matt Frank -----Original Message----- From: Michael Kay [mailto:mhk@xxxxxxxxx] Sent: Thursday, May 27, 2004 3:16 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: exclude-result-prefixes issue > 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format