Subject: RE: Embedding an SSI echo in an XML attribute
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 9 May 2007 12:45:48 +0100
|
> This generates:
>
> <a src='<!-- "fff" --> '>d</a>
>
> I'd like to preserve the double quotes surrounding the
> attribute. Is this possible?
Saxon doesn't let you choose whether to use single-quotes or double-quotes.
It always uses double-quotes unless the attribute value contains
double-quotes, in which case it uses single-quotes.
Michael Kay
http://www.saxonica.com/
|