Using XPath to get Rootnode name in Expression shape Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Using XPath to get Rootnode name in Expression shape This topic has 1 reply, 1 voice, and was last updated 9 years, 10 months ago by community-content. Viewing 1 reply thread Author Posts February 22, 2009 at 6:18 AM #21775 community-content Hi, I have a requirement to fetch Root node name from XML document in expression shape in Orchestration. Can anyone any idea of how I can use Xpath to get it? I have used the following syntax but didn’t work. strName = xpath(“root(trantype)”); “trantype” is the element of that XML. Thanks in advance. Mit February 22, 2009 at 3:02 PM #21777 community-content Try this: strName = xpath(message, “string(local-name(/child::*))”); Author Posts Viewing 1 reply thread The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies. Log in / Register