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

  • From: David Brownell <david-b@p...>
  • To: Jason Diamond <jason@i...>,"Devlin, Kurt" <Kurt.Devlin@w...>, xml-dev@l...
  • Date: Mon, 22 Oct 2001 14:24:29 -0700

Can't be used inside attributes ...

----- Original Message -----
From: "Jason Diamond" <jason@i...>
To: "David Brownell" <david-b@p...>; "Devlin, Kurt" <Kurt.Devlin@w...>;
<xml-dev@l...>
Sent: Monday, October 22, 2001 2:06 PM
Subject: Re:  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.
>
>


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