[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] Handling internal general entities with SAX
- From: David Brownell <email@example.com>
- To: Jason Diamond <firstname.lastname@example.org>,"Devlin, Kurt" <Kurt.Devlin@westgroup.com>, email@example.com
- Date: Mon, 22 Oct 2001 14:24:29 -0700
Can't be used inside attributes ...
----- Original Message -----
From: "Jason Diamond" <firstname.lastname@example.org>
To: "David Brownell" <email@example.com>; "Devlin, Kurt" <Kurt.Devlin@westgroup.com>;
Sent: Monday, October 22, 2001 2:06 PM
Subject: Re: [xml-dev] Handling internal general entities with SAX
> > You could cleanly layer a syntax like "$name;" on top of any
> > XML processor. In fact, it'd be simple enough to implement
> > some sort of SAX pipeline component that'd postprocess all
> > attribute values and character content to substitute "$name;"
> > values. The cost would be an extra scan over most characters
> > in the input data, but in terms of layering it's clean.
> Why not use processing instructions instead? Isn't this the kind of
> application they're supposed to be used for?