Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: geoff hopkins <geoffhopkins123@--------->
To:
Date: 12/1/2005 9:13:00 AM
Had an idea...

If I change the end line of the xslt script in the
<xsl:template match="text"> to <xsl:apply-templates
select="following-sibling::text[starts-with(.,'R[')][1]"/>

then it works as its not selecting as many lines,,,
can any more experience bods see this causing any
problerms.

Geoff


--- geoff hopkins <geoffhopkins123@xxxxxxxxx> wrote:

> <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
> 
> 



		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/


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