This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to do this in WD-XSL
- From: Betty Harvey <harvey at eccnet dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 20 May 2002 12:48:21 -0400 (EDT)
- Subject: Re: [xsl] How to do this in WD-XSL
- Reply-to: xsl-list at lists dot mulberrytech dot com
Norm:
You can do server-side transformations using Sablotron
and PHP.
Betty
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey, XML Consultant, | Phone: 410-787-9200 FAX: 9830
Electronic Commerce Connection, Inc. |
harvey@eccnet.com | Washington,DC SGML/XML Users Grp
URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
On Mon, 20 May 2002 normbishop1@netscape.net wrote:
> 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
>
--
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list