Skip to main content
0 votes
1 answer
15 views

XSLT Sort has issues with few Child nodes

I am trying to use XSLT to sort only specific segments when it is having same /HEADER/DOC/E_E20/ROOT/MAT segments, if this case exist then //ROOT/FIELD3 must be used as key to sort the entire segments,...
Anu's user avatar
  • 3
0 votes
3 answers
61 views

XSLT:Sort issue when using the key field

I have an issue while sorting LuLineItem where I need to sort it when its corresponding Iden/IdenValue, where IdenType=OCC1 is repeating in another LuLineItem, then based on Idenvalue, where Identype=...
Padd T's user avatar
  • 17
0 votes
2 answers
36 views

XSLT 3.0 - how do I correctly use apply-templates and copy-of?

I am fairly new to xslt 3.0 and have a problem that requires it's use. I am very close but my output is printing the text-only copy of the data that I do not want. I have to basically merge the T3 ...
Jack Creed's user avatar
0 votes
2 answers
39 views

XSLT: Checking the length and copying the value

I am trying to write an XSLT to check if <identification>, which has <identificationType> as Type10 or not, if it exist and <identificationValue> length is less than or equal to 5 ...
CHAR's user avatar
  • 19
0 votes
2 answers
75 views

Use XSLT to change root element and namespace but keep other common namespaces

I am trying to convert an XML document to one with a new root element, but which shares many other common element namespaces. I am having troubles with the namespace transformation. This is the input ...
Robert Mark Bram's user avatar
1 vote
2 answers
43 views

XSLT split XML into separate messsages by child node

I'd like to split an XML message into separate messages, by each ocurence of a subnode (A_SalesOrderItemType), keeping the parent values for each via XSLT 2.0 or 3.0 transformation. An excerpt of the ...
user2215655's user avatar
0 votes
1 answer
37 views

XSLT to Copy header node value to child segment if that segment is not exist

i am trying to write XSLT mapping for copying parent value to child nodes, ContainerCode -- > Serialshippingcontianercode value we need to pass to its subnodes under new tag <identification>, ...
CHAR's user avatar
  • 19
0 votes
1 answer
64 views

Filtering arrays from Saxon XSLT API in Java?

I have this xml: <?xml version="1.0" encoding="UTF-8"?> <Document> <tag-one> <tag-two> <tag-three> <tag-...
user1234SI.'s user avatar
  • 1,852
0 votes
2 answers
47 views

Count of the different element code should show at the end

I'm totally having 10 Detail element like below, In that I want to split and arrange the Code element value as per the Indicator Plan value. <Details> <Detail> <Code>001&...
User501's user avatar
  • 335
0 votes
1 answer
61 views

How to divide the values in a single line into multiple lines, and also to remove the duplicates in xslt 3.0

Input: <AAA>RIO_CBI_TE01_1 RIO_CBI_TE01_1 RIO_ATC_TE01_1 RIO_ATC_TE01_1 RIO_ATC_TE01_1 RIO_ATC_TE01_1 RIO_ATC_TE01_1 RIO_ATC_TE01_1 RIO_ATC_TE01_1 RIO_ATC_TE01_1 RIO_ATC_TE01_1 RIO_ATC_TE01_1 &...
Smiley's user avatar
  • 1
0 votes
1 answer
37 views

cyclic and/or multiple xsl:include in xslt 3 code

I have a non trivial set of XSLT code in a library where I have ended up (quite understandly) with some cyclic and/or multiple includes of the same file. So... `Warning at xsl:stylesheet on line 10 ...
MrD at KookerellaLtd's user avatar
1 vote
1 answer
46 views

User defined XPath operators in XSLT

I have an function that would look much nicer as an operator. We can use append as an example, lets say I want to use + so $foo + $bar rather than array:append($foo,$bar) There is nothing obvious that ...
MrD at KookerellaLtd's user avatar
0 votes
1 answer
34 views

alternatives to import/include for importing library functions

I sometimes use xsl:import/xsl:include to import library functions, but its a bit clumsy. Things like saxon seem to import libraries by magic based on including a namespace in the root. I probably ...
MrD at KookerellaLtd's user avatar
0 votes
1 answer
40 views

Issue in Sort only particular segments which is having duplicate values

I am trying to use XSLT to sort only specific segments when it is having same /header/doc/root/mat segments, if this case exist then //FIELD3 must be used as key to sort the entire segments, other ...
Anu's user avatar
  • 3
0 votes
2 answers
50 views

XSLT to reassign Sequence Number based on Key Field Value

I have a requirement to reassign the sequence number /MainHeader/Record/POSN with 8001,8002.... when we have two segments which has same value in the field /VAR, If /Child -- > segment exists ...
Padd T's user avatar
  • 17

15 30 50 per page
1
2 3 4 5
55