Hi All, I am trying to get xml data using xpathdocument(), The xml do

Hi All,

I am trying to get xml data using xpathdocument(), The xml document is saved in Appian(As attachment).
xml document contains attribute xmlns="http://www.adatum.com" at the root element. with out this attribute I can get the xml data. what could be the possible xpath expression.

xpathdocument(ri!doc,"//Tests")

Thanks.

testXml.xml

OriginalPostID-184414

OriginalPostID-184414

  Discussion posts and replies are publicly visible

Parents
  • Thanks Phil,

    i have another question,
    i have an xml file of 3 records(rows) and that didn't have namespace.
    i used xpathdocument and torecord functions to save data in my cdt variable.
    xpathdocument give 3 records correctly, but torecord saves only the last row even the type variable is multiple (Array).

    this issue was resolved by some work around.

    here my question is: what could be the reason torecord saves only last record/row?
Reply
  • Thanks Phil,

    i have another question,
    i have an xml file of 3 records(rows) and that didn't have namespace.
    i used xpathdocument and torecord functions to save data in my cdt variable.
    xpathdocument give 3 records correctly, but torecord saves only the last row even the type variable is multiple (Array).

    this issue was resolved by some work around.

    here my question is: what could be the reason torecord saves only last record/row?
Children
No Data