Subject: Re: [xsl] is paging transformation on server side possible ? From: "Elise D." <tyris_azriel@xxxxxxxx> Date: Mon, 23 Jul 2001 14:24:35 +0200 (CEST) |
thanks, this could be a solution... i gonna see if i could change my xml... not sure i can do this, as it should be generic, and i wanted the user can be able to choose the number of results/page regards, elise ps : sorry for my bad english, i'm french --- cutlass <cutlass@xxxxxxxxxxx> a écrit : > right then > > here are some pointers > > a) u can create multiple output docs ( use SAXON ) > b) create an xslt script which creates batch file > for processing with your > processor > > --------------------------------------------------------------- > xsl > --------------------------------------------------------------- > <?xml version="1.0" ?> > <xsl:stylesheet > version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > > <xsl:output method="text"/> > > <xsl:template match="/"> > > <xsl:apply-templates select="//page"/> > > </xsl:template> > > <xsl:template match="page"> > saxon test.xml test.xsl pagenumber=<xsl:value-of > select="@pageno"/> > > > test<xsl:value-of select="@pageno"/>.html > </xsl:template> > > > > </xsl:stylesheet> > > --------------------------------------------------------------- > xml > --------------------------------------------------------------- > <?xml version="1.0" ?> > <?xml-stylesheet href="test.xsl" type="text/xsl"?> > <pages> > <page pageno="1"> > this is page1 data > </page> > <page pageno="2"> > this is page2 data > </page> > <page pageno="3"> > this is page3 data > </page> > <page pageno="4"> > this is page4 data > </page> > </pages> > > ----------------------------------------------------------------- > > of course your end xml format may have to be a 2 > pass solution. > > cheers, jim fuller > > > ----- Original Message ----- > From: "Elise D." <tyris_azriel@xxxxxxxx> > To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> > Sent: Monday, July 23, 2001 12:25 PM > Subject: Re: [xsl] is paging transformation on > server side possible ? > > > > yes thanks i already know this link, almost by > heart > > :) but this example means i should call many times > the > > xsl right ? (as much as the user click on the > > next/previous button). > > and as the transformation is done on the server, i > > can't ask him to be called many times for each > > results... my question in fact is : is there a way > to > > create a only one time the html and the > transformation > > ? what are the possibles solutions, depending on > my > > limitations (server side transformation, ms xsl 3 > only > > on the server, paging returned to the client, > avoid > > many call to the server...) > > > > if there is no solution, what would be the best > that > > fits ? > > --- cutlass <cutlass@xxxxxxxxxxx> a écrit : > > > > ----- Original Message ----- > > > From: "Elise D." <tyris_azriel@xxxxxxxx> > > > To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> > > > Sent: Monday, July 23, 2001 11:26 AM > > > Subject: Re: [xsl] is paging transformation on > > > server side possible ? > > > > > > > > > > well for server side transformation there is > no > > > > problem. my question was to create a paging > system > > > on > > > > server side, then i transform it on the server > > > (i'm > > > > used to do this) and the user will get a web > page > > > > fully html + javascript only, with next, > previous > > > page > > > > button (example : 5 results per pages) > > > > > > in other words u want to parse everything to > flat > > > html on the server for > > > your clients > > > > > > > > > > > there is many ways to do this on client (as > the > > > user > > > > will call back sxlt each time the next button > is > > > > pressed for example... but how to do this on > > > server > > > > side, as my client can't have ms xsl3 ?? > > > > > > ok which means your question is about paging, > many > > > apologies, should read > > > the titles more often > > > > > > http://www.dpawson.co.uk/xsl/sect2/paging.html > > > > > > go here > > > > > > chow, jim > > > > > > > > > > > > > > > > > > > --- cutlass <cutlass@xxxxxxxxxxx> a écrit : > > u > > > may > > > > use server side XSLT transforms in many forms > > > > > ( i ignore server side > > > > > mxxsl solutions, of which there are many > ways of > > > > > doing ) > > > > > > > > > > a) use saxon servlet ( or use cfx_saxon in > cold > > > > > fusion ) provided with > > > > > Michael Kay SAXON parser > > > > > b) use Axkit ( www.axkit.org ) which > essentially > > > > > uses mod_perl and sablotron > > > > > c) create a cgi that executes sablotron ( ie > > > sabcmd > > > > > ) www.gingerall.com > > > > > which is a parser built in c > > > > > d) any of the java parsers can be run using > JRUN > > > > > e) use perl as cgi whilst using many of the > perl > > > > > modules and libraries that > > > > > are specifically dedicated to xml/xslt > > > > > > > > > > > http://www.dpawson.co.uk/xsl/sect4/N10048.html > > > > > take a look here > > > > > > > > > > good luck, jim fuller > > > > > > > > > > ----- Original Message ----- > > > > > From: "Elise D." <tyris_azriel@xxxxxxxx> > > > > > To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> > > > > > Sent: Monday, July 23, 2001 10:32 AM > > > > > Subject: [xsl] is paging transformation on > > > server > > > > > side possible ? > > > > > > > > > > > > > > > > do someone knows a way to make paging on > > > server > > > > > side ? > > > > > > A > > > > > > transformation that only makes html.. > because > > > if i > > > > > > make the > > > > > > transformation on the server and send the > html > > > to > > > > > the > === message truncated === ___________________________________________________________ Do You Yahoo!? -- Vos albums photos en ligne, Yahoo! Photos : http://fr.photos.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] is paging transformation , cutlass | Thread | [xsl] automation server can't creat, Elise D. |
[xsl] automation server can't creat, Elise D. | Date | Re: [xsl] captured in a <xsl:for-ea, Alexander Gutman |
Month |