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

Re: FW: [Sedna-discussion] Strange issue when declarin

Subject: Re: FW: [Sedna-discussion] Strange issue when declaring default element namespace
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Jun 2011 17:55:40 -0400
Re:  FW: [Sedna-discussion] Strange issue when declarin
At 2011-06-29 23:26 +0200, Robby Pelssers wrote:
I wanted to verify that my problem discussed in below thread is actually not a bug but supposed to work like that. Can someone confirm below findings? I think this question applies to several mailinglists (xquery/ xslt/ sedna).

You make it difficult by not distilling what you want confirmed.


In the classroom I describe this with a simple summary:

In XSLT the XPath default namespace and the XML default namespace are distinct. You must always declare them separately.

In XQuery the XPath default namespace and the XML default namespace are in lock step. If you declare in the prologue or you declare in a start tag, both default namespaces are always set with the declaration.

Is more detail needed?

I hope this helps.

. . . . . . . . . Ken


-- Contact us for world-wide XML consulting & instructor-led training Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Legal business disclaimers: http://www.CraneSoftwrights.com/legal

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.