|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: namespace prefixes within attribute values
Eve Maler wrote I can see using QNames attribute values when you're manipulating element types and attribute names, as is done in XML Schema and XSLT. However, in XLink, QNames are used -- in the true Namespaces specification sense -- for values that have nothing to do with element types and attribute names. The same is true of xslt. QNames are used as the names of most constructs (variables, modes, etc) not just elements and attributes. A lot of people are hoping that one day they'll be able to point to some kind of document (compound or not...whatever) that will serve as the definitive source for information about a namespace. I think it's probably safer keeping namespaces just to serve for distinguishing things that would otherwise have the same name (such as p in html and p in something else) and to look to schema for information about things (although not about what constitutes the set of names in a namespace). I want to define the name "popupFor10Seconds" in my namespace definition document, have I now precluded the possibility of having a <popupFor10Seconds>? an <x myco:popupFor10Seconds="..." />? well if there were to be a `namespace definition syntax' (which I think would be a bad idea) then it would already have to cope with elements and attributes having the same name, so it could presumably have to cope with arbitrary datatypes: xlink names, xslt variables, xslt modes, xslt template names, etc. All these things may have the same name in the same namespace. David *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
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








