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

excluding namespaces

Subject: excluding namespaces
From: Louis-Dominique Dubeau <ldd@xxxxxxxxxxx>
Date: 31 Mar 2000 14:31:26 -0500
exclude result prefixes all
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
Description: Binary data

Attachment: test.xml
Description: Binary data

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.