Questions tagged [xslt-1.0]

Use this tag for questions specific to XSL Transformations version 1.0 and no other version.

W3C Recommendations:

If you are looking for help on using a particular XSLT instruction or XPath function or expression it is a good idea to check the relevant spec sections first and then to explain in your question in what way, using the information from the spec, you couldn't solve your problem; so here is a list of the various sections:

XPath 1.0 functions

String functions

Node Set functions

Number functions

Boolean functions

XSLT 1.0 elements

Online Training Material

  1. Foundations of XSLT 2 and XSLT 1 A Pluralsight course by Dimitre Novatchev
  2. Practical Transformation Using XSLT and XPath A book by G. Ken Holman
6016 questions
1
vote
1 answer

BizTalk Map Group Person by Key

My existing map, transforms a person from the source schema to a person from the destination schema using the functoids within the map based on type and a number of other logica. With a recent change from the destination schema I need to amend the…
PuffTMD
  • 63
  • 9
1
vote
1 answer

XSLT 1.0: Replacing all occurences of a string in a node-set

I have the following function which replaces all occurences of a search-string ($replace) in a string ($text) with another string ($by):
silentsurfer
  • 1,998
  • 2
  • 17
  • 29
1
vote
1 answer

XSLT for BizTalk mapping and changing node name

I need to map 2 fields from a large schema to a small schema (below), to produce a message to be sent to make a web service call.
DarkW1nter
  • 2,933
  • 11
  • 67
  • 120
1
vote
1 answer

Merge different products belong to each standard

I have to transform the following xml content, 200057 ISO 1001
Ravindra Ranwala
  • 20,744
  • 6
  • 45
  • 63
1
vote
1 answer

xslt 1.0 xsl:for each to get required values by comparing nodes

As I am new to xslt, sorry if my question title is not correct! my xml: wo1234 accessrd nogothruroad
1
vote
2 answers

XSLT 1.0 - how to check when condition for string

I am trying to conditional check on the input xml file and place the value. input xml: 1 If newwo is 1, then I have to set in my output as "NEW" else "OLD" Expected output is: newwo: "NEW" my xslt…
1
vote
1 answer

Losing XML structure after XSL

I am new to all this and have tried various route but I am not able to extract the data I need. The XML file that I am working with is automatically generated by a piece of hardware and its size generally about 35Kb. In the XML file there is a…
YPC
  • 11
  • 3
1
vote
1 answer

Oh no, not again a "XSLT 1.0 finding duplicates" quest. But I really mean it

Here's my humble XML file: one 2 2
Denis Giffeler
  • 1,499
  • 12
  • 21
1
vote
1 answer

Two elements per Row XSL

I am using xml and xslt 1.0. Suppose there is my xml structure: ... Then I want to show it like this: N is the node "person" . I am using bootstrap, and the web content is designed like…
1
vote
2 answers

how to get the tag value in XSLT

I have a sample XML 1000909090 2 10
Victor
  • 333
  • 2
  • 5
  • 20
1
vote
0 answers

Retrieving URL Parameter from XSL

I am trying to retrieve parameter values from the URL using XML but I can't seem to retrieve the data. Kindly check the photo I posted below to get a clearer view: From what I understand, the < xsl:param name="page" > will automatically retrieve…
it2051229
  • 339
  • 3
  • 13
1
vote
1 answer

Choosing between different namespaces in XSLT

The XML I am expecting is supposed to be only one url/urn (xmlns:urn="urn:123:456") like below:
zyberjock
  • 337
  • 5
  • 19
1
vote
2 answers

XSL Complex Select Condition

I have an XML Structure, which looks like this: ...
1
vote
2 answers

template match with below XPATH means

Can anyone tell me the meaning of the below template match and What i guessed is , the first template match will be applied for all the element nodes which dont have any child…
sreevathsa a
  • 149
  • 13
1
vote
1 answer

XSLT contains() not working

I am trying to use contains() where i want to display the node value only when it does not contain number but I get all the node values in result. Below is my code and sample XML. My code is as below: Please let me know where I am doing wrong. my…
Shweta
  • 27
  • 5
1 2 3
99
100