[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

effect of namespace on collection function; weird

David Lee dlee at calldei.com
Tue Feb 2 16:30:16 PST 2010

  effect of namespace on collection function; weird
In hindsight, that's too bad  :(
In most of the cases where I work with XML with namespaces, I'm generating 
in a different namespaces (or none) then I am querying.
My own experience would suggest that's the common, not the outlying case.

David A. Lee

From: "Michael Rys" <http://x-query.com/mailman/listinfo/talk>
Sent: Tuesday, February 02, 2010 4:10 PM
To: "Michael Kay" <http://x-query.com/mailman/listinfo/talk>; "'James Fuller'" 
<http://x-query.com/mailman/listinfo/talk>; "'Elliotte Rusty Harold'" 
Cc: <http://x-query.com/mailman/listinfo/talk>
Subject: RE:  effect of namespace on collection function; weird

> I remember having this raised as a usability issue but we decided at the 
> time that we do not want to keep track of two default element namespaces 
> :(.
> Best regards
> Michael
> -----Original Message-----
> From: http://x-query.com/mailman/listinfo/talk [mailto:http://x-query.com/mailman/listinfo/talk] On Behalf 
> Of Michael Kay
> Sent: Tuesday, February 02, 2010 7:00 AM
> To: 'James Fuller'; 'Elliotte Rusty Harold'
> Cc: http://x-query.com/mailman/listinfo/talk
> Subject: RE:  effect of namespace on collection function; 
> weird
>> yes frustrating, but dont forget you can use:
>> declare default element namespace "http://www.w3.org/1999/xhtml";
>> to change the default element namespace in XQuery
> But it still changes the default both for constructing new elements and 
> for accessing existing ones. What the user wants here is different 
> defaults for the two cases.
> Regards,
> Michael Kay
> http://www.saxonica.com/
> http://twitter.com/michaelhkay
> _______________________________________________
> http://x-query.com/mailman/listinfo/talk
> http://x-query.com/mailman/listinfo/talk
> _______________________________________________
> http://x-query.com/mailman/listinfo/talk
> http://x-query.com/mailman/listinfo/talk


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.
First Name
Last Name
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.