|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] excluding namespaces
Hello everyone, if I apply the attached stylesheet to the attached document, Saxon outputs (=== delimits the output): === <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE gaga SYSTEM "gaga"> <gaga> <new-a blah:attr="vuzul" xmlns:blah="blah">Mingo</new-a> Bango </gaga> === And XT outputs: === <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE gaga SYSTEM "gaga"> <gaga> <new-a blah:attr="vuzul" xmlns:blah="blah">Mingo</new-a> Bango </gaga> === In both cases xmlns:blah is put on the <new-a> element but I don't want it. I use exclude-result-prefixes all over the place but it doesn't seem to have any effect. Anybody has an idea of what I'm doing wrong? Thanks, ldd Attachment:
namespace.handling.xsl Attachment:
test.xml
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








