[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] Handling internal general entities with SAX
- From: David Brownell <david-b@pacbell.net>
- To: Jason Diamond <jason@injektilo.org>,"Devlin, Kurt" <Kurt.Devlin@westgroup.com>, xml-dev@lists.xml.org
- Date: Mon, 22 Oct 2001 14:24:29 -0700
Can't be used inside attributes ...
----- Original Message -----
From: "Jason Diamond" <jason@injektilo.org>
To: "David Brownell" <david-b@pacbell.net>; "Devlin, Kurt" <Kurt.Devlin@westgroup.com>;
<xml-dev@lists.xml.org>
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?
>
> Jason.
>
>