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

Re: need a help with following siblings

Subject: Re: need a help with following siblings
From: Red Light <skydelta98@xxxxxxxxx>
Date: Wed, 16 Mar 2011 05:02:46 -0700 (PDT)
Re:  need a help with following siblings
Hi Martin,

i use xslt 1.0 , ok thanks

one last thing if i may  if have to
include  my test inside a loop for each will i have to change something (
right now it give false for every row)

 <xsl:for-each
select="/doc/content/element/element_content/data/items/listElement">
<fo:block >
<xsl:value-of select="boolean ( listElement[categOrSubOrOther
='Categ']/following-sibling::listElement[categOrSubOrOther = 'Sub']
)"></xsl:value-of>							   								   </fo:block>			

</xsl:for-each>
--- On Wed, 3/16/11, Martin Honnen <Martin.Honnen@xxxxxx> wrote:

> From:
Martin Honnen <Martin.Honnen@xxxxxx>
> Subject: Re:  need a help with
following siblings
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Date: Wednesday,
March 16, 2011, 11:54 AM
> Red Light wrote:
> 
> >   thanks for the answer i
process 
> the xsl with apache fop and it give me the following:
> > 
> >
RREUR :  'Erreur de contrtle du type de
> l'expression 'funcall(exits,
[step("child", 239,
> pred(=(step("child", 240), literal-expr(Categ))))])'.'
>
> ?
> 
> Do you use XSLT 2.0 or 1.0? If you use 2.0 then make sure
> you use
the right spelling "exists" (and not "exits" as your
> error message shows).
>
If you use 1.0 then "exists" is not support, you could use
> "boolean" instead
e.g.
>   boolean(listElement[categOrSubOrOther =
>
'Categ']/following-sibling::listElement[categOrSubOrOther =
> 'Sub'])
> 
> --
>     Martin Honnen
>     http://msmvps.com/blogs/martin_honnen/
> 
>
--~------------------------------------------------------------------
>
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To
unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail:
<mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
> --~--

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.