Linked Questions

1 vote
5 answers
12k views

I want to join the values of all the nodes that match an expression and have them separated by a comma. For example, the following xml should return "num1,num2,num3" <products> <product>...
user1136342's user avatar
  • 4,971
3 votes
4 answers
1k views

Suppose this is my XML: <animals> <mammals> <an>dog</an> <an>cat</an> </mammals> <reptiles> <an>snake</an> &...
Binyamin Even's user avatar
0 votes
1 answer
1k views

I am trying to extract the concatenated cells from a HTML table for each row using XPath. For example, if I have a table like <table> <tr><th>FirstName</th><th>LastName&...
Rasika's user avatar
  • 1,998
1 vote
1 answer
609 views

in these days I'm totally struggling myself trying to let sas read an xfdf file, an export of comments (annotation) in a pdf with adobe professional. If you never worked with an .xfdf file, don't ...
stat's user avatar
  • 669
2 votes
1 answer
442 views

Using XPath is it possible to get the name of each node in a path to a target node as a String? Example.xml <parent> <childOne> <target>true</target> </...
clD's user avatar
  • 2,651
0 votes
1 answer
453 views

I try to match multiple elements and all their occurences through concatenation. I tried two expressions concat(//h5,'###',//h5/following-sibling::p) concat(//*/h5,'###',//*/h5/following-sibling::p) ...
Evgeniy's user avatar
  • 2,657
0 votes
1 answer
411 views

I'm still new to XPath, and trying to deal with a sizeable dataset having some complex structure. Here's some sample data: ... <div2 id="n104226" key="to/lmh" type="main&...
Todd Hoatson's user avatar
0 votes
1 answer
466 views

I know this is a commonly asked question (I found Concatenate multiple node values in xpath XPath joining multiple elements and a few others), but for the life of me I can't figure it out. I've got ...
Jasper Wijnhoven's user avatar
1 vote
2 answers
212 views

I have a XML as follows: <rss version="2.0"> <channel> <language>en</language> <pubDate>Tue, 19 Mar 2024 06:06:35 GMT</pubDate> ...
Jose L Martinez-Avial's user avatar
0 votes
1 answer
108 views

I am using Google Sheet to read XML data. Unfortunately I am struggling to extract the XML correctly. https://www.w3schools.com/xml/xpath_syntax.asp, SO and other Googled sources didn't help. While ...
Robert Sharpe's user avatar
0 votes
1 answer
91 views

I try to get text values from between span tags with XPath which do not contain a class attribute with the value "hide". Please show me the right way, based on my example code. My code is only a part ...
Lisa Warner's user avatar