Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

Tagged with
0 votes
2 answers
39 views

How to register default NS in libxml2 for C++?

Question: What is the correct way to register the default NS for XPath context? I've gone through numerous posts (mostly non-C++ and Google search) about registering NS, but I cannot find anything for ...
codenamezero's user avatar
  • 2,950
0 votes
1 answer
38 views

How to parse XML in Google Sheet?

This URL https://export.arxiv.org/api/query?id_list=2308.05734 contains the xml below. <?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom&...
TSR's user avatar
  • 19.5k
0 votes
1 answer
173 views

How to access an element on a web page by XPath using the nodriver library in Python?

I tried to write a wait_for_xpath function, but I'm unable to create an Element class for interacting with an element on the web page using the dom.py module. Here's the code: async def wait_for_xpath(...
user25065962's user avatar
0 votes
3 answers
79 views

XPath - how to exclude text from child node

I want this output (example): I want this I'm working with a XML/TEI document and I need to work with XPath expression and I want as output the text in the div/u, but without the text inside node ...
Rosmerade's user avatar
0 votes
1 answer
69 views

Parsing an XML with missing content

I have a XML like this: <?xml version="1.0" encoding="UTF-8"?> <TEI xmlns="http://www.tei-c.org/ns/1.0"> <teiHeader> ... </teiHeader> <text> ...
amy's user avatar
  • 11
0 votes
1 answer
55 views

Extracting value of xml in PostgreSQL

Please tell me how to extract the guid field from this XML? The problem is the presence of xmlns parameters. Currently returning empty. with XML_text(col) as ( select '<?xml version="1.0" ...
Дмитрий Мыльч's user avatar
0 votes
1 answer
83 views

XML (TEI document) parsing in R: how can I extract only the head?

I have to parse a XML-TEI document similar to this: <?xml version="1.0" encoding="UTF-8"?> <TEI xmlns="http://www.tei-c.org/ns/1.0"> <teiHeader> ... <...
amy's user avatar
  • 11
1 vote
3 answers
119 views

Xpath using getting no output

I have an API output of an xml i am trying to parse bellow is an example. I am using Power Automate and trying to use xpath <?xml version="1.0"?> <requests> <request id="...
Fixermister's user avatar
-1 votes
2 answers
95 views

update a specific value of xml with c# [duplicate]

I have been working with xml update and insert in c# but cannot implement update specific value. Below is my xml data: <?xml version='1.0' encoding='UTF-8'?> <Invoice xmlns='urn:oasis:names:...
Codinoz Technologies's user avatar
0 votes
4 answers
193 views

how do i find out if an attribute in xpath contains any value from a specific list

how do i find out if an attribute in xpath contains any value from a specific list, for example in the below case, i want to find X/Y , which has an attribute A has any value , from the list {"...
Divya MV's user avatar
  • 2,045
0 votes
1 answer
31 views

How to find element with specifc attribute value and element value

Please help with a xpath expression as explained below <A> <B x="P" Z="flag">2</B> <B x="Q" Z="nonflag"></B> <...
Divya MV's user avatar
  • 2,045
-1 votes
1 answer
56 views

Xpath inside xpath

I am trying to create an xpath for the below scenario, could you please help ? How can i find out the value of C whose @parent is /A/B/@id, that is PQR, C may not be the immediate next node . I want ...
Divya MV's user avatar
  • 2,045
-2 votes
1 answer
101 views

Parsing "XML Spreadsheet 2003" into a Pandas dataframe

I have 6000+ XML Spreadsheet files that I would like to parse into Pandas DataFrames. Preferably I would like to do this using the pd.read_xml method and provide the correct arguments (x-path?). I ...
JM Nel's user avatar
  • 49
0 votes
1 answer
79 views

Trouble with XML parsing in VBA: Extracting multiple Node values from NodeList

This XML document below is an invoice with order items. Various master data must be extracted for each order item. For the sake of simplicity, we will only consider the <ram:SellerAssignedID>. ...
smartini's user avatar
  • 445
0 votes
1 answer
150 views

Extracting XML nodes into a dataframe when child nodes vary

I am building a code in R to extract grant data from IRS990PF files in XML format. I have built the following code that works well to build a dataframe for a file with only US grantees. However, the ...
msl's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
41