Subject: [xsl] How to do this in WD-XSL From: normbishop1@xxxxxxxxxxxx Date: Mon, 20 May 2002 12:30:59 -0400 |
Hello, Now I have realized that it is problematic to do client-side XSLT transoformations. Then, Will you pls advice me on how I can do server side transformation. Because, I have about 500 clients and it is impossible to ask every one to have MSXML installed in their computer to run my application. If there isn't any way to do the transformation on the server side then I am forced to use "http://www.w3.org/TR/WD-xsl" version. IS THAT CORRECT? If that is the case, then I need your help in converting the following to WD-XSL version (functions like:starts-with,translate, or variable, start-indent). Will someone pls help me? <fo:table-cell padding="2pt" border="0.3pt solid black" column-number="1"> <xsl:variable name="cell_1" select="ntcell_0"/> <xsl:choose> <xsl:when test="starts-with($cell_1,'INDENT_ONCE')"> <fo:block start-indent="1em" background-color="#FFFFCC" color="black" text-align="left" font-size="10pt" font-family="sans-serif"> <xsl:value-of select="translate(ntcell_0,'INDENT_ONCE',' ')"/> </fo:block> </xsl:when> <xsl:when test="starts-with($cell_1,'INDENT_TWICE')"> <fo:block start-indent="2em" background-color="#FFFFCC" color="black" font-size="10pt" text-align="left" font-family="sans-serif"> <xsl:value-of select="translate(ntcell_0,'INDENT_TWICE',' ')"/> </fo:block> </xsl:when> <xsl:otherwise> <fo:block background-color="#FFFFCC" color="black" font-size="10pt" text-align="left" font-family="sans-serif"> <xsl:value-of select="ntcell_0"/> </fo:block> </xsl:otherwise> </xsl:choose> </fo:table-cell> Thank you very much in advance Norm __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT/FO Newbie Question, David Carlisle | Thread | Re: [xsl] How to do this in WD-XSL, Betty Harvey |
Re: [xsl] XSLT/FO Newbie Question, Corey A. Spitzer | Date | RE: [xsl] XSLT/FO Newbie Question, Stuart Celarier |
Month |