Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: XSL Template as string >Thread Next - Re: XSL Template as string Re: XSL Template as stringTo: NULL Date: 9/3/2005 4:48:00 PM "Praveen" <praveen@n...> wrote in message news:O0wLBYEsFHA.2604@T...... > Thanks for ur replies. > > let me make it simple > Is it possible to get an xsl template inside JS as a string.. > something like this.. > > var StrTemp="<xsl:template > name="DataTemp"></xsl:template>" > > or > var StrTemp="<xsl:template name="DataTemp"><xsl:if > test="@D>0">Success</xsl:if></xsl:template>" Yes, this can be done. In case you'll need to furter parse the string aa xml, the latter way above is the one that allows this. Cheers, Dimitre Novatchev | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
