xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: [xsl] Re: Spam:[xsl] Quotes within Quotes within Quotes
From: JBryant@xxxxxxxxx
Date: Thu, 20 Oct 2005 10:08:54 -0500

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)


Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor