attribute values as qnames?

Clark C. Evans clark.evans at
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.


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

More information about the Xml-dev mailing list