xpath-2.0 Questions
3
Solved
Given this piece of XML
<dc:date>info:eu-repo/date/embargoEnd/2013-06-12</dc:date>
<dc:date>2012-07-04</dc:date>
I should need with XSL to output only the year of the str...
4
Solved
I need to extract (XSLT, xpath, xquery... Preferably xpath) the most deeply nested element nodes with method (DEST id="RUSSIA" method="delete"/>) and his direct ancestor (SOURCE id="AFRICA" method=...
3
Solved
Is there a less then kludgey way of finding the difference in days between 2 dates in xslt? If so can you point me in the right direction. I am receiving dates in the format of mm/dd/yyyy.
5
Solved
Using XPath, I would like to "Match whole word" (option for user, just like in VS search).
It seems as though the functions contains and matches work similarly though matches allows for flags like...
1
Solved
Is it possible to write an XPath expression that gets the root node of a node within a node-set with only a reference to the node?
Using "/" won't work for me because that only refers to the inpu...
3
Solved
I am trying to find employees who work on projects located in Houston but the department the project is housed in is not located in Houston. I was trying to model the expression after this example ...
4
Solved
I have an XML file that contains authors and editors.
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="file:textbook.rnc" type="compact"?&...
2
Solved
I had posted another question with this as one aspect of it. I was told to clarify the question, but that question was already pretty long and complicated, so I created a new one.
I want to know i...
2
Solved
I'm trying to filter elements based on an attribute that is a date in the format yyyy-MM-dd.
My XML looks like this:
<?xml version="1.0" encoding="utf-8"?>
<root>
<article title="...
1
Solved
I am using .NET 4.0 and I would like to use XPath 2.0 methods such as ([Matches()][1], [upper-case()][2], [lower-case()][3]) when trying to find elements in a document.
Example XPath: "/MyDocumen...
2
Solved
I have a string which contains numbers. Is it feasible only with XPath that I get only numbers from it?
For example: myString="abcd12ef34gh567", result: 1234567
2
Solved
I want to check the parent of current node is root node or not in Xslt.How i do that?
Please Guide me to get out of this issue...
Thanks & Regards,
P.SARAVANAN
3
Solved
3
Solved
like for, sum, if, intersect...and if not, or not entirely, where can I find the details? And if it does, where can I find an official confirmation?
2
Solved
Is there some kind of split() function in XPath?
Say I have this XML:
<root>
<path>C:\folder\filename</path>
</root>
And I want to retrieve filename, how can I do this? ...
1
Solved
I have an XML like the one below:
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Destinations>
<Destination name="DEST1" >
<From>AMA*</From>
<...
4
I have an XPath expression which provides me a sequence of values like the one below:
1 2 2 3 4 5 5 6 7
This is easy to convert to a sequence of unique values 1 2 3 4 5 6 7 using distinct-values()....
© 2022 - 2024 — McMap. All rights reserved.