We are using Oracle XML Publisher to generate PDF formatted Purchase Order Reports. We have tried Oracle Support, but haven't got anywhere, hence trying here...
As part of this work, we have hit a problem.
Part of the XML contains the following data:
<TEXT> Telephone Number=6955_1 </TEXT>
<TEXT> Telephone Number=6955_2 </TEXT>
What we want to do is to loop through the values in the <LINE_ATTACHMENTS> tag, and output the Text Value.
If we try the following snippet:
Then when we view the output, the XSL will always display the value of the 3rd iteration of the <TEXT> tag.
That's okay - but we don't want to hard code the  value. We want instead for the number there to be the row count that is currently being used.
We have tried this:
But a long error message was returned.
Basically, we want to increment a variable for each loop through the data, and output the value of that incremented variable in the square brackets as detailed above.
Can this be done?