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...
Measles asked 20/9, 2012 at 8:15

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=...
Lylalyle asked 21/6, 2012 at 9:49

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.
Stereotyped asked 4/4, 2011 at 21:50

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...
Rhoea asked 1/5, 2012 at 20:9

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...
Catalogue asked 29/2, 2012 at 21:20

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 ...
Fantasia asked 11/12, 2011 at 22:22

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"?&...
Lucillelucina asked 30/11, 2011 at 23:58

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...
Allanallana asked 28/10, 2011 at 8:10

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="...
Lockjaw asked 3/12, 2010 at 16:0

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...
Parfleche asked 22/9, 2011 at 19:47

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
Handcraft asked 7/9, 2011 at 16:11

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
Complexioned asked 7/9, 2011 at 5:40

3

Solved

What is the right way to format xs:dateTime to RFC 822?
Insight asked 7/10, 2010 at 20:26

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?
Raggletaggle asked 27/4, 2011 at 10:53

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? ...
Exhibitioner asked 23/11, 2010 at 10:38

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> <...
Haemin asked 12/2, 2009 at 2:36

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()....
Electrometer asked 25/9, 2008 at 12:44

© 2022 - 2024 — McMap. All rights reserved.