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

RE: elements in a namespace

Subject: RE: elements in a namespace
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Mon, 7 Jun 1999 13:47:31 -0600
RE: elements in a namespace
> If you get fed up of 
> sticking xsl: in front of everything, you can do this:
> 
> <stylesheet 
>   xmlns="http://www.w3.org/XSL/Transform/1.0"
>   >
>
> [...]
>
> > namespace declarations in the stylesheet have 
> > nothing to do with elements in the source tree.
> 
> Not really `nothing'. If you want to access elements in the 
> source tree which have a particular namespace associated,
> you have to declare that namespace in the stylesheet,
> to associate the namespace with a prefix. Don't you?

Yes, I stand corrected on both points.

I'm just disappointed in that there's no way to define a default namespace
for references to source tree elements. Of course, I realize that such an
implementation would require a mechanism for references to source tree
elements that have no namespace associations. The obvious solution would be
to associate a prefix with an empty namespace, but the Namespaces in XML
spec prohibits this (...why?) http://www.w3.org/TR/REC-xml-names/#dt-prefix


 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.