Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] Error: when distance between section definitions exceed 3678 (roughly)

From: "Michael Kay" <mike@------------>
To:
Date: 12/2/2005 2:29:00 AM
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: [xsl] 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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent