Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 43 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 283 Oracle Analytics and AI News
- 59 Oracle Analytics and AI Videos
- 16.3K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 108 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Regroup and Filter Data Regardless of the XML Source
Summary
Regroup and Filter Data Regardless of the XML Source
Content
Hello everyone,
I am stuck with a RTF template I want to make for JDE
I am trying to create a customer statement in XML from the standard R/E Customer Statement R155001, so if anyone used in the past I would really appreciate any help
The problem is the following:
The RDA creates 3 main sections of the document (Header, Main Body and Footer), but the source output is like:
Headers
Header 2
Header 3
Main Body
Header 1
Details 1
etc (no there no typo there)

In every node there is a unique value (PageHeaderNumber) which is always 1 for the first statement, 2 for the next etc
(if the source contains 10 statements it is from 1-10)
I want to filter nodes, regardless of their position in the structure and put them in the same level
Something like:
Take all nodes where PageHeaderNumber=1 (page break)
Answers
-
Found out myself with a lot trial and error
After the first for-each I put
<?variable@incontext:hd;PageHeaderNumber?>
and then referred to any fiield with the full path
0