[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
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
|
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
|