Re: [xsl] JSON strings in XML attributes

Subject: Re: [xsl] JSON strings in XML attributes
From: Liam R E Quin <liam@xxxxxx>
Date: Wed, 29 Aug 2012 23:45:41 -0400
On Wed, 2012-08-29 at 19:23 +0200, Imsieke, Gerrit, le-tex wrote:

> Is there a way to tell an XSLT 2 processor to serialize attribute 
> delimiters as single quotes and keep double quotes unescaped in 
> attribute values?

Depends on the processor. Seems unlikely.

But if Amazon is using an XML parser then &quot; ought to work too, as
should &#34; and if they are not using an XML parser to parse XML, they
should be forced to wear shoes. And white socks. In public.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Co-author, 5th edition of "Beginning XML", Wrox, 2012
(if you buy the book you can stop reading the above line)

Current Thread