[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Namespace problem, part two

Subject: Re: Namespace problem, part two
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 25 Sep 2009 15:33:37 +0200
Re:  Namespace problem
Trevor Nicholls wrote:

    <xsl:attribute
name="xsi:noNamespaceSchemaLocation">../../xml_utils/hcdocs.xsd</xsl:attribu
te>


When the save stylesheet is run, the first (outer) document is created
correctly, but the second (inner) document (qa.xml) lacks the xmlns:xsi
(namespace) node:

(qa.xml as created):
----
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="../../xml_utils/hcdoc2html.xsl" type="text/xsl"?>
<document xsi:noNamespaceSchemaLocation="../../xml_utils/hcdocs.xsd"

That is an odd output as it would not be well-formed.
Does it fix things if you use
<xsl:attribute name="xsi:noNamespaceSchemaLocation" namespace="http://www.w3.org/2001/XMLSchema-instance">../../xml_utils/hcdocs.xsd</xsl:attribute>
?


--

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.