|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: adding multiple variables to a complex condition
Hi, How do I format numbers in XSL . eg 456.00 Is there any format expression? Thanx in advance :) Garrick ----- Original Message ----- From: "Eric Smith" <Eric.Smith@xxxxxxxxxxxx> To: "XSL List" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Sunday, December 09, 2001 2:42 AM Subject: adding multiple variables to a complex condition > What is a good way to add other variables like output2 .. $outputn > to this conditional? > > <xsl:template name= "conditional"> > <xsl:choose> > <xsl:when test=" > $output='all' > or > ( > (ancestor::*|@*)[name()= $output] or > contains(@include,$output) or > contains(@exclusive,$output) and > not(contains(@reject,$output)) and > not(@exclusive and not(contains(@exclusive,$output))) and > not(@reject = 'all') > ) > ">yes</xsl:when> > </xsl:choose> > </xsl:template> > > -- > Eric Smith - currently using xalan and xsltproc - what a difference speed makes - and fop on linux > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








