0
                  <table>
                    <tr styleCode="normRow xMergeUp">
                       <td ID="problem30comment" colspan="2" styleCode="allIndent">
                          <paragraph styleCode="cellHeader">Overview:</paragraph>
                          <paragraph>Test</paragraph>
                       </td>
                    </tr>
                    <tr ID="problem29" styleCode="altRow">
                       <td ID="problem29name">Anemia</td>
                       <td>07/30/2015</td>
                    </tr>
                 </table>

I have above XML tags. So I want to check the tag contains the <paragraph> tag or not. If yes then get <paragraph> tag value or direct take <td> value.

I am using "Get data from XML" in Pentaho.

halfer
  • 19,824
  • 17
  • 99
  • 186
Abhishek
  • 21
  • 8
  • "check the tag contains the tag or not" : I guess one word is missing. – AlainD Mar 19 '18 at 09:10
  • Please read [Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers?](//meta.stackoverflow.com/q/326569) - the summary is that this is not an ideal way to address volunteers, and is probably counterproductive to obtaining answers. Please refrain from adding this to your questions. – halfer Mar 19 '18 at 13:03
  • Please use the preview window before posting - several of your XML tags were missing in your text, because they were not `inline formatted`. – halfer Mar 19 '18 at 13:04

0 Answers0