Subject: [xsl] convert a string to xslt file ?? From: anand awasthi <anand-awasthi@xxxxxxx> Date: 12 Feb 2001 10:08:51 MST |
Hi, I am using sun xsltc compiler for transforimng xml documents.. my question is whether xsltc can read a string and convert the xml dcoument according to rules specfied in that string ?? does xsltc understand a string as an xslt string ?? for example : will sun xsltc understand follwing string : " <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> <xsl:template match="/"> <xsl:for-each select = "//JartaXmlReport" > <xsl:choose> <xsl:when test="((SessionStartupTime < 10) and (PageTime > 56)) or (TransactionTime < 567)"> X </xsl:when> <xsl:otherwise> Y </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:template> /xsl:stylesheet>" and will it transform some xml document according to rules mentioned in above string ?? tx AA ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Copying Groups of Attribu, Jeni Tennison | Thread | [xsl] can an XSLT processor process, anand awasthi |
Re: [xsl] Copying Groups of Attribu, Oliver Becker | Date | Re: [xsl] Copying Groups of Attribu, David Carlisle |
Month |