[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to do this in WD-XSL

Subject: Re: How to do this in WD-XSL
From: Betty Harvey <harvey@xxxxxxxxxx>
Date: Mon, 20 May 2002 12:48:21 -0400 (EDT)
sablotron starts with
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@xxxxxxxxxx                    | Washington,DC SGML/XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/

On Mon, 20 May 2002 normbishop1@xxxxxxxxxxxx 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.