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

Re: exclude result prefixes doesn't stop prefix from s

Subject: Re: exclude result prefixes doesn't stop prefix from showingup.
From: "Mark R. Diggory" <mdiggory@xxxxxxxxxxxxxxxxx>
Date: Fri, 22 Aug 2003 14:29:28 -0400
exclude default namespace
Please excuse me, I did not mean to appear as though I was complaining, I try my best to avoid it. My goal is simply to try to stop the appearance of the xmlns:ddi namespace declaration from my result document, no more, no less. I was hoping there was a simple means to accomplish this.

Cheers,
Mark


Michael Kay wrote:
My experiences suggest that if the source document contains a default namespace then you have to map the namespace to an alternate prefix (ddi: in my example) otherwise the templates "match and select" statements do not work), in other words its impossible to match elements in the default xmlns namespace without mapping that namespace to a different prefix.


Correct.

I find this counter-intuitive.


Also correct. This is why it's a FAQ.

Unfortunately many things about namespaces are counter-intuitive. They
were sent to try us. But there's no point complaining, they are there
and we have to live with the rules as they come.

Michael Kay.


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


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.