RE: [xsl] Namespace attribute problem with Saxon

Subject: RE: [xsl] Namespace attribute problem with Saxon
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 16 Jan 2006 11:32:38 -0000
Please google for "XSLT default namespace FAQ".

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

> -----Original Message-----
> From: Mark Wilson [mailto:drmark@xxxxxxxxxxxxxxx] 
> Sent: 16 January 2006 11:26
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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>

Current Thread