xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] exclude-result-prefixes issue


Subject: RE: [xsl] exclude-result-prefixes issue
From: "Matt Frank" <mfrank@xxxxxxxxxxx>
Date: Thu, 27 May 2004 10:34:37 -0500

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: [xsl] 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


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor