Subject: RE: [xsl] centralised alphabetical order for distributed content From: "james walker" <jameswalkerandy@xxxxxxxxxxx> Date: Tue, 23 Mar 2004 10:09:10 +0000 |
From: "james walker" <jameswalkerandy@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] centralised alphabetical order for distributed content Date: Mon, 22 Mar 2004 13:44:34 +0000
I am performing the translations on a servlet which i cant control unfornately, it is based on a xalan server. Also when i tried to use a union operator to include all 30 files, for some reason it broke after 27 files ( i am guessing that has something to do with the server dedicating a limited amount of memory for a translation). Is it possible to write xslt which will create one key across 30 files on a xalan server (not sure what sax streams are)?
cheers james
From: <Jarno.Elovirta@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: [xsl] centralised alphabetical order for distributed content Date: Mon, 22 Mar 2004 15:33:38 +0200
Hi,
> However, i can only create a key for one file. Is it possible > to create one > key for all 30 files? Or would it be easier to somehow gather > all info from > 30 files and then create a key from that?
Depends on your environment: if you're already calling the transformation e.g. from your own Java code, shouldn't be too difficult to gather the SAX streams from multiple document into one that's fed to the Transformer. Also, if you combine the documents outside the XSLT process, you could also generate a link/@key attribute that has already been converted to lowercase to make sorting easier.
Cheers,
Jarno - The Cure: Open
_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger
_________________________________________________________________ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] centralised alphabetical , james walker | Thread | Re: [xsl] centralised alphabetical , Kevin Jones |
RE: [xsl] Counting items related by, M. David Peterson | Date | RE: [xsl] Question on loops, Jarno.Elovirta |
Month |