This discussion is archived
2 Replies Latest reply: Sep 30, 2013 9:02 AM by BIPuser RSS

passing variables in rtf

875076 Newbie
Currently Being Moderated

Hi All, I have parent child data sets in a data model. While displaying the result. I want to pass the ID from the parent to the child set so that in row there will be sub rows. Here NAME,ID is part of parent fields and TYPE, DR is part of child fields and they both have common ID. I am having problem to display the child levels . I tried creating the variable and pass the ID to the child group and it is not working.<?xdoxslt:set_variable($_XDOCTX,’ID’,ID)?> and in group <?for-each://R[_ID=.//node()[local-name()=ID]?>



If i can show data model may be things will be clear. Is there any documents where I can pass the value using variable to the group .


NAME                                       ID                            TYPE      


     DR John Barns                    ADM ORDR001            PA001          CR   

                                                                                  RV001         CR                                                     

.                                                                                  STA            TR

LOMBARD TRUMAN                ADM ORDR004           INCT                  CR                                                       

                                                                                PA001                AR                                                    

                                                                               SI001                 BR


Thanks, Sushil


  • Correct Answers - 10 points
  • Helpful Answers - 5 points