[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Clark C. Evans" <clark.evans@m...>
  • To: "Mark D. Anderson" <mda@d...>
  • Date: Fri, 24 Dec 1999 18:03:15 -0500 (EST)

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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member