xsl-list
[Top] [All Lists]

RE: String literal error

2003-07-29 09:03:28
Hi.

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Arthur Maloney
Sent: Tuesday, July 29, 2003 10:00 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] String literal error


Hello xsl-list,

<xsl:param name="delimiter"     select=" ',' "/>
<xsl:param name="quote-mark" select=" '  "/>

I am using above to produce SQL csv text file
Top one works fine

The 2nd gives error "a string literal was not enclosed"
Dear xsl-ers ,

<xsl:param name="delimiter"     select=" ',' "/>
<xsl:param name="quote-mark" select=" '  "/>

I'm using the above to produce SQL csv text file.

1st works fine
2nd gives error "a string literal was not enclosed"

Use <xsl:param name="quote-mark" select=" '&_quot;'  "/> without the '_'



I'm using <xsl:text>'</xsl:text> as a work around.


How do you put ' or " into a parameter ?


-- 
Best regards,
 Arthur                          mailto:ArthurMaloney(_at_)seipas(_dot_)com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>