• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with Xpath expression

 
Rama Krishna Ghanta
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need help with an XPath expression. How do I get a concatenated value of the node <p:TransactionDetailText> based on the sequence in the node <p:TransactionDetailTextSequence>? The number of <p:TransactionDetailText> nodes is not fixed. Below is the XML code I have.

 
Paul Clapham
Sheriff
Pie
Posts: 20980
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends. For a start, what's a "concatenated value"? I don't recognize that as XPath terminology.
 
Rama Krishna Ghanta
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By saying "concatenated value" I mean, my Xpath expression should return "AT T/P/O DEFT DID CALLED THE PERSON RESPONSIBLE FOR THE TRANSACTION AND THE CALL WAS NOT ANSWERED. CALL BACK IS SCHEDULED FOR THE SAME.". In Xpath temrinology I believe it's something like concat(p:TransactionDetailText1, p:TransactionDetailText2,........).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic