Re: [Xsltforms-support] position() does not seem to work
Brought to you by:
alain-couthures
From: ac <ac...@hy...> - 2011-04-21 08:41:36
|
Hi Rajamani, Unfortunately, that does not work. I need the position() number. Do you mean position(current()) or current()/position() or something else? Thank you. Regards, Andre > Hi AC !!! > > use current() instead of the position() function inside the repeat option. > > By > Rajamani marimuthu > XRX Team > OTC > > On 04/21/11, *ac * <ac...@hy...> wrote: >> Hi Alain, All, >> >> There seems to still be a few things I am missing about XForms. >> >> In an XSLTForm, where everything else displays properly, I have a >> xf:repeat section has below, where the >> <xf:output value="count(//stratml:Goal)"/> works fine, but the >> <xf:output ref="position()"/> does not, just all the references to >> position(). >> Could you help me see why? >> >> Thank you. >> >> Regards, >> Andre >> >> >> ... >> <h2><hr class="form" align="left"/>Goals (<xf:output >> value="count(//stratml:Goal)"/>)</h2> >> <ul> >> <xf:group> >> <xf:repeat id="goalrepeat" >> nodeset="stratml:StrategicPlanCore/stratml:Goal" appearance="compact"> >> <table> >> <tr> >> <td><h3>Goal <xf:output ref="position()"/>:</h3></td> >> ... >> >> ------------------------------------------------------------------------------ >> Benefiting from Server Virtualization: Beyond Initial Workload >> Consolidation -- Increasing the use of server virtualization is a top >> priority.Virtualization can reduce costs, simplify management, and >> improve >> application availability and disaster protection. Learn more about >> boosting >> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support > > -- > Rajamani Marimuthu > Junior Research Fellow-JRF > NIC -Open Technology Centre > Rajaji Bhavan > Besant Nagar, > Chennai - 90 > Cell : 9677192096 > |