Blank values

May 21, 2010 at 10:46 PM

Maybe you can point me in the right direction.  I created simple a document template that has a foreach tag that encloses two valueof tags and a page break.

My resulting document has 84 pages (the number of rows in the XML) but the values are shown blank.   I looks like  it is indeed locating the rows, but it is not reading correctly the fields.  What can it be?

May 22, 2010 at 3:39 PM

I found what I was doing wrong.   I followed your sample template, but for some reason the "@" at the field level was not working for me (i.e. @PeriodID )

I had to specify d:PeriodID and then the data showed up.

Can you clarify what's the use for the @

Coordinator
May 23, 2010 at 7:19 PM

@ mean attribute. Without the '@' you're targeting elements. This is standard xpath, not a fleXdoc-specific feature/behaviour.

Robert

May 24, 2010 at 1:53 PM

Thanks for the clarification Robert, I want to share a good and simple tutorial on xpath

http://www.let.uu.nl/linguistics/log/images/xpath_tutorial_and_reference.pdf