This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
convert a string to xslt file ??
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] convert a string to xslt file ??
- From: anand awasthi <anand-awasthi at usa dot net>
- Date: 12 Feb 2001 10:08:51 MST
- Reply-To: xsl-list at lists dot mulberrytech dot com
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