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 12:42:00 PM thanks, But I think Im confusing everybody..... Im not going to hardcode xsl:template as a string inside JS. I want the same xsl:template inside xsl as a string in JS. thanks praveen "Dimitre Novatchev" <dimitren@t...> wrote in message news:43194737$0$29901$892e7fe2@a...... > > "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 | |||
|
