Re: [xsl] enclosing attribute in single quote

Subject: Re: [xsl] enclosing attribute in single quote
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 21 Apr 2009 16:35:05 -0400
At 2009-04-21 13:26 -0700, H H wrote:
I have a basic requirement for a XSLT transformation from XML to XML. I want my output XML to have all attributes enclosed in single quote (instead of double quote)

This has zero effect on downstream processing with any XML processor. Any conforming processor would give the same content whether an attribute was delimited with single or double quotes.


It would only be significant to a non-XML process (e.g. a character stream).

Is there any configuration/setting or any other support that will let me choose if the attributes can be enclosed in single quote.

Version:
XSLT 1.0
Xerces/Xalan

Such control is out of scope for the Recommendation and would only be available as a processor extension ... and I doubt you would find any processor that offers it.


. . . . . . . . . Ken


-- XSLT/XSL-FO/XQuery hands-on training - Los Angeles, USA 2009-06-08 Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal

Current Thread