Questions tagged [xslkey]
43 questions
0
votes
1 answer
XSLT key matching with namespaces
I have a XSD document using namespaces, simplified to this:
…

EmDroid
- 5,918
- 18
- 18
0
votes
2 answers
Name of iteration variable in xsl:for-each on xsl:key in XSLT 1.0
I have XSLT 1.0 code like this:

Paul Reiners
- 8,576
- 33
- 117
- 202
0
votes
1 answer
How can I merge nodes based on the value of an attribute?
After a first xsl transformation I have a xml output similar to the following one:

Kraal
- 2,779
- 1
- 19
- 36
0
votes
5 answers
Counting distinct items in XSLT and listing only once
I have the following XML:
-
…

Paul Reiners
- 8,576
- 33
- 117
- 202
0
votes
2 answers
XSLT 2.0 - Distinct values using a key
I'm having a bit of troubles working on a XSLT sheet. This is my XML document :
1
1
…

Remi
- 81
- 4
0
votes
1 answer
XSLT: replacing a node by equivalent node of other document
I want to replace some nodes of an XML file by the equivalent nodes of another XML file. As this wouldn't be challenging enough, I want the ID used for comparision be the value of some child.
The "old" XML looks like:

user3465206
- 3
- 1
0
votes
1 answer
XPath to find straddle rows in CALS model
I am building a process to go through a large collection of XML files, looking for CALS model tables (most of the files contain at least one) and then store the tabular data back to a database. In the first instance, many of these tables will have…

Feargal
- 41
- 8
0
votes
2 answers
XML/XSLT - xsl:key concat
I have the following XML code:
Course 1
XML
XPath
Nikitin
…

ollazarev
- 1,076
- 8
- 26
0
votes
2 answers
How to reference a node using a key -- XSLT
Given the following xml document...

codingManiac
- 1,654
- 4
- 29
- 42
0
votes
1 answer
issue with xsl-key for multiple elements
I am trying to display the Hoursofoperation for different departments,i have a template that is working for single HoursofOperation element for multiple HoursofOperation elements it is not giving expected result. code is below

user2962780
- 35
- 4
0
votes
1 answer
xsl:key match current node from context
I have some xml structure like that:

Illania
- 117
- 1
- 1
- 14
-1
votes
1 answer
regex-group(last()) in XSLT
Working on linking of some text in input with analyze-string but not able to retrive regex-group(last()) in script.
You can check transform at https://xsltfiddle.liberty-development.net/bnnZVG
As you see, current output

Rupesh_Kr
- 3,395
- 2
- 17
- 32
-1
votes
1 answer