xsl-list
[Top] [All Lists]

Re: Spam:[xsl] Quotes within Quotes within Quotes

2005-10-20 08:08:54
Assuming that the string you want for output is

xmlns:schemaLocation='http://www.test.com/bta $pathPS_ReportRequest.xsd'

(why the space after bta?)

then you can use

<xsl:attribute 
name="{concat('xmlns:schemaLocation=&apos;http://www.test.com/bta 
','$path',
'PS_ReportRequest.xsd&apos;')}"/>

'$path' ensures that you will literally get $path as the output. If you 
want the value of a variable there, use $path (without the quotation 
marks).

If you want the value of $path to be inserted and the space after bta to 
not be present, use

<xsl:attribute 
name="{concat('xmlns:schemaLocation=&apos;http://www.test.com/bta',$path,
'PS_ReportRequest.xsd&apos;')}"/>

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--