All Questions
12,733
questions
1
vote
0
answers
43
views
injection on second user fails
I am trying to execute an xpath injection in golang, I am at the point where I can extract data through the injection from the first user in the xml file ' or position()=1]/*[2]|/a['. However from the ...
2
votes
2
answers
60
views
XPath with nested condition using outside element value
My XPath foo is not yet good enough to figure out how to do the following.
I have an XML that's similar to:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<books>...
0
votes
2
answers
55
views
Postgresql - XML- Processing xpath with date comparission
I have ingested XML file in Postgresql DB and I trying to perform XPATH operation on the field with date comparison but it is not working. From Postgresql official site I found out that Postgresql ...
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&...
1
vote
0
answers
33
views
XPath doesn't take any effect without throwing any errors
I want to make a button in 2 of our views only visible to users of a specific group. In the sale.order view everything works as intended. There is similar view in the account.move model which I ...
2
votes
2
answers
131
views
XPath for colspan attribute values as browser understands them?
I have a HTML table with possibly missing or malformed colspan values:
<table border="1">
<tbody>
<tr>
<th>A</th> <th>B</th> <th>C</...
1
vote
1
answer
55
views
XML output from SQL Server based on header and details
I have these table values:
ID
MARKS
TOTALMARKS
SUBJECT
CODE
3789
15
40
Science
SC
3789
25
40
Math
M
3932
14
48
Science
SC
3932
34
48
Social
SO
3957
42
42
Math
M
4871
11
31
Eng
E
4871
20
31
...
1
vote
1
answer
32
views
XPath expression for finding subsequent elements that have the same tag name
Here is a sample XML:
<Body>
<Subsection lims:inforce-start-date="2018-12-15" lims:fid="170842" lims:id="170842">
<MarginalNote lims:inforce-start-date=&...
0
votes
0
answers
146
views
Result throw Namespace prefix 'ext' is not defined
I tried to add XmlDsigXPathTransform to reference but the code signedXml.ComputeSignature() throws an error
Namespace prefix 'ext' is not defined
This is the code:
//Generate the xmlDoc
AXG_Invoice....
1
vote
1
answer
36
views
XPath exclude child similar elements
How can I select all elements by attribute name but exclude child elements that are identical using XPath?
HTML
<div c-store="test">
<div c-text>Product Name</div>
...
0
votes
0
answers
41
views
How to split a (sysrepo, netconf) xpath into a json object
I am working with NETCONF and Sysrepo. When a change is made in the sysrepo managed configuration, it gives a call back so that the corresponding change can be effected in the underlying hardware. The ...
0
votes
1
answer
37
views
Applying default values in multiple XML elements using XSLT 1.0
I am using XSLT 1.0. There is a requirement of applying default values to all the XML elements which are blank using XSLT. For example, say below is the input XML:
<employee>
<id ...
0
votes
1
answer
59
views
Using XSLT to Iterate and Transform XML to Simple Text
I am a beginner and still learning in XSLT. I have a simple xml code below:
<?xml version="1.0" encoding="UTF-8"?>
<order id="1021">
<items>
...
1
vote
2
answers
43
views
XPath for all text within same div tag?
<div class="o-text99">
"No "
"messages"
" found"
</div>
I want to identify all the text from the div, and class attribute value is dynamic, so ...
0
votes
1
answer
78
views
How to access sibling element using Go with etree XML package?
Given an XML document such as this:
<MasterXML>
<Processes>
<Params>
<ParamName>today</ParamName>
<ParamType>1</ParamType>
...