Joe K.,

I don't think that Joseph Caporale would be have his problem solved by the
choice of whether attribute values should be surrounded by double quotes,
or single quotes.

He wrote:
<<<
The XML looks like this:
<image>imagename.jpg</image>.  Any time that tag's there, the output should
be &lt;img src=\"imagename.jpg\" / &gt;.
>>>

He wants the " untouched, and he wants a \ infront of each ", and he
doesn't even want the <,> around the img tag.


- Brian



                                                                           
             [EMAIL PROTECTED]                                             
             m                                                             
                                                                        To 
             10/24/2007 12:40          Brian Minchau/Toronto/[EMAIL PROTECTED]  
   
             PM                                                         cc 
                                       general@xml.apache.org,             
                                       [EMAIL PROTECTED],             
             Please respond to         [EMAIL PROTECTED]        
             [EMAIL PROTECTED]                                     Subject 
                   e.org               Re: [Announce] Escaping double      
                                       quotation marks in XSL              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




How Hard Would It Be (how much performance would it cost us) if we put in a
switch for whether the users wanted double-quoted attributes (requiring
double-quotes within them be escaped) or single-quoted (requiring
single-quotes within them be escaped)?

I know we don't want to try to switch on a case-by-case basis -- that would
be a definite performance hit -- but this *might* be an affordable option
and might help a few folks.

On the other hand, it might help too few to be justifiable. In which case
the answer might be "It's open source; here's where to patch it to swap the
two."

______________________________________
"... Three things see no end: A loop with exit code done wrong,
A semaphore untested, And the change that comes along. ..."
-- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (
http://www.ovff.org/pegasus/songs/threes-rev-11.html)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to