Martin Stricker <[EMAIL PROTECTED]> writes:
> Anthony Gaudio wrote:
> > I don't want Sablotron to convert the HTML entities into the actual
> > character they represent. I want the browser to deal with that.
> >
> > when used with an XML document the result I would get is:
> > <HTML>\</HTML>
> >
> > I would like the result to be:
> > <HTML>\</HTML>
>
> Sorry, this is is impossible the way you try it. According to the spec
> any XML parser (and every XSL-T-parser *is* an XML parser!) has to
> convert entities *before* doing anything else. So the entity is
> converted even before the XSL-T is working! You can get around that by
> writing &#92;, but even this might not work, depending on how the
> XSL-T processor works. Maybe some nested &amp;amp;...#92; will help,
> maybe not. If you want to ensure getting \ you have to create it by
> XSL-T.
Maybe a better question is why you want to force the use of
entities. If it's not necessary from the perspective of HTML, why
force it?
--
[ Below is a random fortune, which is unrelated to the above message. ]
FORTUNE PROVIDES QUESTIONS FOR THE GREAT ANSWERS: #4
A: Go west, young man, go west!
Q: What do wabbits do when they get tiwed of wunning awound?