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

RE: Error: when distance between section definitions

Subject: RE: Error: when distance between section definitions exceed 3678 (roughly)
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 2 Dec 2005 00:22:05 -0000
section definitions
If you can't solve this using sibling recursion, and can't move to XSLT 2.0,
you might try to tackle it using a different positional grouping technique.
Define a key for each of the elements that's the generate-id() of the most
recent preceding sibling that matches "Point A" or "Point B". Then do
Muenchian grouping using this key. 

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: geoff hopkins [mailto:geoffhopkins123@xxxxxxxxx] 
> Sent: 01 December 2005 09:01
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Error: when distance between section 
> definitions exceed 3678 (roughly)
> 
> <root>
>    <artefact doc_ref="me.doc">
>       <instance doc="me.doc" sec="R[3]"\>
>       <instance doc="me.doc" sec="R[2]"\>
>       <instance doc="me.doc" sec="R[1]"\>
>    <artefact>
> </root>
> 
> is an example output, the premise of the xslt script
> is to extract all R[xxx] tags from the xml document
> between Point A and Point B (point A to B can repeat
> several times in the doc or once)
> 
> where the node is showing <text></text> in the example
> input this would normally contain the various text or
> R[xxx]
> 
> Geoff
> 
> --- Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote:
> 
> > So, what should be the output?
> > 
> > --
> > Cheers,
> > Dimitre Novatchev
> > ---------------------------------------
> > To avoid situations in which you might make mistakes
> > may be the
> > biggest mistake of all.
> 
> 
> 		
> __________________________________ 
> Start your day with Yahoo! - Make it your home page! 
> http://www.yahoo.com/r/hs

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.