• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: Using Lookup tables in XSL to find corresponding values

Resolved: Using Lookup tables in XSL to find corresponding values

0
By Isaac Tonny on 16/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

Need help with XSL lookup table. Ideally I want it to run on Saxon 9.5.1.6 but the example I found runs on Saxon 6.5.5.
I need to use a lookup table to find corresponding values. I have a lookup table in my XSL that contains the key that is in the XML and the corresponding value that I need add to the output XML.
My input XML looks like this:
The desire output XML should look like this:
And this is my XSL:

Answer:

Try it this way?
XSLT 2.0

If you have better answer, please add a comment about this, thank you!

xml xslt xslt-2.0
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Modify entity using Action in C#

24/03/2023

Resolved: How to give rank on datetime column group by another column with userid in it

24/03/2023

Resolved: Passing 2 functions in onChange in react

24/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.