|
[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; weirdDavid Lee dlee at calldei.comTue Feb 2 16:30:16 PST 2010
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 http://x-query.com/mailman/listinfo/talk http://www.calldei.com http://www.xmlsh.org -------------------------------------------------- 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'" <http://x-query.com/mailman/listinfo/talk> 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 >
|
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








