Subject: Re: [xsl] need a help with following siblings From: Red Light <skydelta98@xxxxxxxxx> Date: Wed, 16 Mar 2011 05:02:46 -0700 (PDT) |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] need a help with followin, Martin Honnen | Thread | Re: [xsl] need a help with followin, Martin Honnen |
Re: [xsl] need a help with followin, Martin Honnen | Date | Re: [xsl] need a help with followin, Martin Honnen |
Month |