This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

convert a string to xslt file ??


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 &lt; 10) and (PageTime > 56)) or (TransactionTime
&lt; 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]