Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
33 views

This works in XMLSPy but not in oXygen 21 with Saxon 12.5: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/...
Zug_Bug's user avatar
  • 230
2 votes
4 answers
105 views

In XPath 2.0, how can I determine if a sequence is a contiguous subsequence of another sequence? For example ('1','2') is a contiguous subsequence of ('a','b','1','2','3','4') Here, I am not ...
yas's user avatar
  • 3,662
2 votes
1 answer
37 views

I am working on an application that extensively uses XPath expressions. The current XPath processor only supports XPath 1.0 syntax. I want to upgrade the application to support XPath 2.0 syntax. Is ...
srk's user avatar
  • 1,971
0 votes
2 answers
62 views

I am trying to transform multiple p tags. If tag has @style then it should be list item otherwise it should just be p tag itself. This is my input: <blockquote> <p style="margin-left: ...
Bakhovuddin Latifjanov's user avatar
0 votes
2 answers
73 views

I'm trying to understand how works grouping in xslt 2.0. My case: I need to group several documents with identical nodes value. Xml example: <items> <item> <!-- can be multiple --&...
Roman G's user avatar
0 votes
0 answers
42 views

Hi I am having an xpath expression "infoList//groupId" which i am trying to apply on a java bean object using jaxen api . however it is returning empty results. The following is my class ...
Starbucks Admin's user avatar
1 vote
1 answer
84 views

In Oxygen XML Editor 27.0, using the "XPath/XQuery Builder" (which, as far as I know, makes use of Saxon as XPath/XQuery processor), when I execute the XPath 2.0 query encode-for-uri('§'), I ...
Philipp Koch's user avatar
0 votes
1 answer
99 views

I am working in PHP and using SimpleXML and XPath. Is there a way to find which version of XPath is included with SimpleXML/PHP? Also, is the version of XPath used with SimpleXML the "full ...
buck1112's user avatar
  • 512
2 votes
1 answer
44 views

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> > > > <a:Passengers> > <a:Passenger> > <a:PaxID>...
Lalmani Kashyap's user avatar
0 votes
0 answers
162 views

I used burpsuite to retrieve the requests by intercepting it but I do not see xpath instead, i see xpathid. I am not sure if the xpath is /system-general/login-banner, since it gave an error message: ...
sjj's user avatar
  • 23
2 votes
1 answer
54 views

I am trying to make the below negative lookahead work in a matches() argument, of a XPath expression, using SaxonJ HE 12 (java): //test[matches(me, '(?!0115)[0-9]{4}')] I know I need to escape some ...
yan-hic's user avatar
  • 1,564
0 votes
1 answer
35 views

XML: Below is the sample XML trying below 2 ways but doesn't return any value. Am I doing Something wrong on Template match or condition <root> <Pol> <InsOrPrincipal> ...
Rao E's user avatar
  • 1
0 votes
1 answer
50 views

Suppose I have an HTML <product-card> <card> <row-layout> <div> <div> <span>Product AAA</span> </div> </...
AT Ng's user avatar
  • 3
0 votes
1 answer
68 views

So here is the sample html doc: <div id="div1"> <ul class="lists"> <li class="listItem1"> List content <span class="...
Jaspreet Singh's user avatar
3 votes
6 answers
179 views

I often have the problem of wanting to select the previous 'cousin' to a node. For example: <root> <level1> <level2 id="1"/> <level2 id="2&...
MrD at KookerellaLtd's user avatar
0 votes
2 answers
305 views

I am looking for a library for XPath 2.0 c++ minGW. libXML2 only supports 1.1. Saxon doesn't run under minGW.
Duesentrieb's user avatar
2 votes
1 answer
213 views

I'm building a report that will show the line numbers of XML elements that match a set of XPaths. I need to support XPath 2.0. Sending the XML to a separate web based processor written in Java or C# ...
Rainbolt's user avatar
  • 3,658
0 votes
1 answer
224 views

This is a general sort of ISO issue, and I know it's potentially nightmarish. Xpath usefully has a function format-date which has mind boggling parameters that I'll work out from https://www.w3.org/...
MrD at KookerellaLtd's user avatar
0 votes
0 answers
52 views

I am trying to load a custom library of XPath functions in my project using a custom build jar. However when the function is called to load the XPath functions i get redirected to XPathParser.java ...
Manikandan S's user avatar
0 votes
1 answer
50 views

I'm trying to pull values from an aff element that matches a cross-reference id, but not sure what XPath to get specific matched value. XML: <article> <contrib-group> <contrib ...
user2093335's user avatar
0 votes
0 answers
57 views

Trying to copy an attribute from XML 1 to another XML 2 using xslt/xpath. 1-1 combination works but I am having 1 to many combinations between X and Y elements and I keep getting below error. ...
Rao E's user avatar
  • 1
0 votes
1 answer
69 views

Say I have the following elements <div class="someDiv"> <p class="someP">1</p> <span class="someP">2</span> <h1 class="...
user avatar
-1 votes
1 answer
65 views

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,051
0 votes
2 answers
66 views

Using XPath 2.0 (ideally) or 3.0 (an option), I'd like to select a node C that is a descendant of A as long as the path from A to C does not contain any B nodes. <Root> <Other> <A&...
fractor's user avatar
  • 1,698
0 votes
3 answers
101 views

I have this kind of DOM: <a>abc</a> <a>def</a> <a>13456</a> <a>gh564</a> I want to get the element which contains only digits. I could do it by ...
Gauthier Buttez's user avatar
0 votes
1 answer
73 views

I have this basic template which sorts & removes certain nodes from my XML document. It works as expected in a stand alone XSLT when passing the XML file as an input parameter of a Saxon command. &...
DaveF's user avatar
  • 285
0 votes
1 answer
28 views

I need to click on the element which is there in the list but I am unable to click on the element I am using (//[@class="pb-dropdown__contents pb-dropdown__contents--no-margin pb-...
Zahid Ulla's user avatar
2 votes
2 answers
57 views

and (contains(BusinessType,'Restaurant') or contains(BusinessType,'Pub') or contains(BusinessType,'Takeaway') <snip...>) The above works as expected returning cases containing the specified ...
DaveF's user avatar
  • 285
1 vote
3 answers
81 views

"name" : "a", "type": "container", "kids": [{ "name": "a1", "type": "container"...
Swagata Mondal's user avatar
0 votes
1 answer
33 views

Earlier my xpath for a certain image element was written with text containing English words. Now, with vernacular support it has lengthened. Seeking help to shorten it. XPath with English support: //...
Prosure's user avatar
0 votes
0 answers
126 views

I am trying to get 10 links via a google sheet from page 1 of the Google Search Results (not including any links to advertised links): I am using the following formula, but It's ERROR =IMPORTXML("...
mkimpro's user avatar
0 votes
1 answer
17 views

I am currently going through an xml data, <datas> <data> <key1>ABC</key1> <key2>def</key2> </data> <data> <key1&...
Rishi's user avatar
  • 1
0 votes
2 answers
48 views

I have below XML <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:partner.soap....
user3441151's user avatar
  • 1,912
0 votes
1 answer
244 views

I would like to use an xpath to get a list of list (or sequence of sequence) that groups extracted xml tags by parent element in order. Here are my attempts so far using a minimal example.. import ...
Mark's user avatar
  • 3
0 votes
1 answer
428 views

Unable to find the XPath for google home page - Search box. Open the Chrome Browser Inspect the default Google Search box on chrome browser Reference Image Refer the image, we have to write the ...
Ezhumalai Shanmugam's user avatar
1 vote
1 answer
54 views

I am trying to extract the data from xml document but I am failing to do it correctly. Below is the sample xml data from which I need specific string details . XML file <BESAPI xmlns:xsi="http:...
isilia's user avatar
  • 361
1 vote
2 answers
100 views

Text Encoding Initiative reccomends using various pointer schemes. Are there already any XSLT (<= 2.0) implementations which can deal with resolving them? For instance, resolving of @corresp="#...
oleksii.sapov-erlinger's user avatar
0 votes
1 answer
505 views

In XPath I want to insert some newlines when using concat(…) and/or string-join(…). From Line breaks (\n) via concat() in XPath? I learned I can insert a newline using codepoints-to-string(10). For ...
Garret Wilson's user avatar
0 votes
0 answers
46 views

I am trying to click on this element in selenium for login but it wont work for me. Here is the html code for it. This is my code for it driver.FindElement(By.XPath("//div[@id='otherTile']")...
ghosty's user avatar
  • 1
1 vote
3 answers
83 views

This code below works but I want it to display the NEXT date that the charts will be available. My output is: Today is: 06/08/2023 Current Cycle Date: 05/18/2023 Time for new charts. I'm ...
Sim Tech's user avatar
1 vote
3 answers
121 views

Let's assume we have the following XML response: <People> <Person> <Age>29</Age> </Person> <Person> <Age>25</Age> </...
xray1986's user avatar
  • 1,168
0 votes
1 answer
1k views

i want to fill input value with click function, like this <script> function inputfillclick() { document.getElementById('inputidx').value="KuchBhi" } </script> <input type=&...
user avatar
1 vote
2 answers
384 views

CLM Doc Gen High-Level ExplainedSample of my xml, below. For each 'Part' Nodeset, I am multiplying Cost by Qty (Cost * Qty). That works just fine at the nodeset level. I am trying to SUM all the (...
NikkiC's user avatar
  • 11
1 vote
1 answer
232 views

i am working on xpath script, i want to work it like that it will keep loking for xpath every 1 second and when element/xpath is found it will click the element and then wait for 5 second then again ...
user avatar
0 votes
2 answers
99 views

My correct XML is: <xml> <astart/> <a>XXX</a> <bstart/> <x>..</x> <y>..</y> <b>AAA</b> <...
BWin's user avatar
  • 25
0 votes
1 answer
49 views

In robit framework i am doing a button click based on text but i want to add ID also as the page has multiple button with same text path="//button[text()=open] Here i want to add id also what to ...
Check_mate's user avatar
3 votes
3 answers
191 views

Using xidel I'm extracting the //Assertion//Signature//KeyInfo//X509Certificate/text() from a SAMLResponse, this is a X509 certificate as a long base64 string. I want to split this string into 64 ...
RubenLaguna's user avatar
  • 25.5k
-1 votes
2 answers
500 views

<div class="card-header bg-info"> <h4>Dumpytext</h4> <h5> Dump text/ mg <span style="font-size: 0.9rem;">(100mg/ 50mg)</span> </h5> <...
músic a's user avatar
0 votes
1 answer
79 views

I want to return the text inside the a tag(for googlesheet IMPORTXML function), but instead of returning the correct value, another value is returned that is not known from where it is loaded. This is ...
majid 's user avatar
  • 723
0 votes
1 answer
1k views

i want to use XPATH to join a string. Actually i have a XML Structure like this: <root> <employee> <employeePayrollID>1234567</employeePayrollID> </employee> <...
Sebi's user avatar
  • 3,979

1
2 3 4 5
15