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

RE: centralised alphabetical order for distributed con

Subject: RE: centralised alphabetical order for distributed content
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Tue, 23 Mar 2004 16:42:22 +0200
alphabetical order xsl
Hi,

If you're using Xalan, you can combine the 30 documents into a one Result Tree Fragment and then use the node-set() extension function to cast that into a node-set. Remember to strip all the whitespace to keep the size of the node-set as small as possible. Then, just use the normal key-based approach to go through the links in the node-set, just remember that the current node is one of the nodes in the node-set.

Cheers,

Jarno - Xorcist: Anima

> -----Original Message-----
> From: ext james walker [mailto:jameswalkerandy@xxxxxxxxxxx]
> Sent: 23 March, 2004 12:09
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  centralised alphabetical order for distributed
> content
> 
> 
> 
> Re posting as i am stil stuck.......
> Is it possible to write xslt which will create one key across 
> 30 files on a 
> xalan server (not sure what sax streams are)?
> 
> 
> 
> >From: "james walker" <jameswalkerandy@xxxxxxxxxxx>
> >Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> >Subject: RE:  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:   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

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.