Trevor Nicholls wrote:
Although the comments are slightly different both yourself and Martin
suggested the same edit.
Unfortunately
----
..
<xsl:element name="{$ln}"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<xsl:attribute
namespace="http://www.w3.org/2001/XMLSchema-instance"
name="xsi:noNamespaceSchemaLocation">../../xml_utils/hcdocs.xsd</xsl:attribu
te>
..
----
results in no change to my output. The top (first) output document contains
<document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../xml_utils/hcdocs.xsd">
and any other ("included") output documents contain
<document
xsi:noNamespaceSchemaLocation="../../xml_utils/hcdocs.xsd">
That seems like a bug in Xalan to me.
I can't reproduce that with the Xalan Java 2.7.1. (note: I had to edit
the stylesheet to use xmlns:xalan="http://xml.apache.org/xalan/redirect"
for the xalan namespace).
--
Martin Honnen
http://msmvps.com/blogs/martin_honnen/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--