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

Re: Proposed syntax for namespace binding in XPath

Subject: Re: Proposed syntax for namespace binding in XPath
From: "Eric Bréchemier" <eric.brechemier@xxxxxxxxx>
Date: Fri, 20 Apr 2007 01:23:30 +0200
Re:  Proposed syntax for namespace binding in XPath
 I came to the idea that variable binding could be used to define
namespace prefix mapping in the context of an expression, using
"pseudo-variables" in the same way as pseudo-attributes are used for
namespace binding, as illustrated below:

for
 $xmlns in 'http://default/uri',
 $xmlns:c in 'http://example.org/customer',
 $xmlns:p in 'http://example.org/personal-info'
return
 /data/c:customer/p:name

Please give me your feedback:
- Is it allowed?
- Is it semantically compatible with XPath2 / XML Namespaces?
- Is is usable for human authors?

Kind Regards,

Eric Brichemier

On 3/31/07, Michael Kay <mike@xxxxxxxxxxxx> wrote:
I'd like to solicit reactions to a proposal to define an informal standard
for binding namespaces in strings containing XPath expressions.

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.