Subject: Re: [xsl] determine if a value exist in the following-sibling From: Michel Hendriksen <michel.hendriksen@xxxxxxxxx> Date: Tue, 5 Apr 2011 11:48:37 +0200 |
string-length(value) > 0 On Tue, Apr 5, 2011 at 11:42 AM, Red Light <skydelta98@xxxxxxxxx> wrote: > Hi, > > please anyone can help me with this expression, > > i got the following xml : > <amounts> > <period_id>1</period_id> > <value>1</value> > </amounts> > <amounts> > <period_id>2</period_id> > <value></value> > </amounts> > > in my code i have <xsl:for-each select="amounts"> > > and i want to test if the next elements of amounts have a "value" or not, > i'm using xslt 1.0 with xalan/apache fop. > > NB: i tried with the following:boolean(following-sibling::amount/text()) > but the expression is wrong .... > > and thanks a lot for you help
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] determine if a value exist in, Red Light | Thread | Re: [xsl] determine if a value exis, Red Light |
[xsl] determine if a value exist in, Red Light | Date | Re: [xsl] determine if a value exis, Red Light |
Month |