xsl-list
[Top] [All Lists]

RE: Namespace attribute problem with Saxon

2006-01-16 04:32:38
Please google for "XSLT default namespace FAQ".

Michael Kay
http://www.saxonica.com/ 

-----Original Message-----
From: Mark Wilson [mailto:drmark(_at_)tlcdelivers(_dot_)com] 
Sent: 16 January 2006 11:26
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Namespace attribute problem with Saxon

When I export my xml source document from MicrosoftWord, the 
schema I used 
to
create the document is referenced in the outermost node, in this case
<List>. If I try to apply an XSLT document to this exported 
document, Saxon
produces nothing, but if I remove the xmlns attribute 
referencing the schema
from  the List element, Saxon produces the expected output 
from the source 
document.
Please, what's going on? Example below.
Thanks,
Mark

No output:

<?xml version="1.0"
          encoding="UTF-8"
          standalone="no"?>
<List xmlns="http://knihtisk.org/LibraryList.xsd";>
   ....
</List>

Expected output:

<?xml version="1.0"
          encoding="UTF-8"
          standalone="no"?>
<List >
................
</List>


--~------------------------------------------------------------------
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>
--~--





--~------------------------------------------------------------------
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>
--~--