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

2.1 Must Allow Matching on Default Namespace Without E

Subject: 2.1 Must Allow Matching on Default Namespace Without Explicit Prefix
From: "Evan Lenz" <elenz@xxxxxxxxxxx>
Date: Wed, 21 Feb 2001 11:04:20 -0800
 2.1 Must Allow Matching on Default Namespace Without E
http://www.w3.org/TR/2001/WD-xslt20req-20010214

2.1 Must Allow Matching on Default Namespace Without Explicit Prefix

I don't think this is a good idea.

The reason I would normally use a default namespace in a stylesheet is if I
wanted my result tree to be primarily in one namespace. A good example would
be transforming XML into XHTML. Matching on a default namespace wouldn't
allow me to reasonably do that, because I would always have to specify
xmlns="" on each template rule, thus taking away the convenience of the
default namespace.

An unanswered question in the requirements doc is: would this apply to XPath
expressions as well? It would seem pretty inconsistent for it to apply to
patterns but not expressions.

In my opinion, the current convenience of default namespaces for result tree
generation far outweighs the convenience that would be provided by this
change.

Evan Lenz
XYZFind Corp.


 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.