attribute values as qnames?

Clark C. Evans clark.evans at manhattanproject.com
Fri Dec 24 23:03:13 GMT 1999


On Fri, 24 Dec 1999, Mark D. Anderson wrote:
> The other trick I've seen in a few places, which I might
> use, is to use an entity instead of a prefix:
>   <el myattr="&someprefix;keyword"/>
> I can just set in one place whether that someprefix is a prefix
> or a full URI.

Now... using entities in this way is the best 
namespace solution I've seen yet.  The prefix 
is, afterall, just a variable to be expanded.

Clark


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list