Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XSL Template as string

From: "Joris Gillis" <roac@-------.-->
To: NULL
Date: 9/2/2005 6:41:00 PM
Hi,

Tempore 20:30:17, die Friday 02 September 2005 AD, hinc in foro {microsoft.public.xsl} scripsit Praveen <praveen@n...>:

> I have an xsl:template which is called inside a loop.
> And it works fine.
> The same template I want to keep as a string in a textarea /input field /
> xsl:variable.

I do not understand this question (best to provide a sample), but I can make a wild guess:

<xsl:value-of select="document('')/xsl:stylesheet/xsl:template[@name='mytemplate']"/>

this will return the string value of the 'xsl:template' element.

regards,
-- 
Joris Gillis (http://users.telenet.be/root-jg/me.html)
Laudeo W3C et dona ferens


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent