Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
1 answer
88 views

I need to convert an XML file to another format. A system creates an XML log with entries like this, I now know that the format was probably selected to allow extension without changing the schema: &...
AndersG's user avatar
  • 151
0 votes
1 answer
68 views

In @xlink:href contains 10.1513/AnnalsATS.202508-879ED text will come different types of doi numberes in many file, How to replace it in regex mode to match the below condition. Please anyone help on ...
Karthick's user avatar
2 votes
2 answers
53 views

<?xml version='1.0' ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" version="1.0" ...
OyeRep's user avatar
  • 25
-3 votes
1 answer
62 views

An XML without content should be generated if the same value occurs several times in the Item/SupplierArticleNumber and the value in the Item/SalesPrice is different. Example XML: <?xml version=&...
juls_pro_37's user avatar
0 votes
5 answers
124 views

Suppose I have the following XML: <?xml version="1.0" encoding="utf8"?> <test> <list> <li>a</li> <li>a</li> <li begin=&...
Jens's user avatar
  • 9,296
0 votes
1 answer
120 views

I am Using saxon EE processor for conversion of XML with XSLT-2.0. but its giving error for XSL file . Below is the Code for XSL File <?xml version="1.0"?> <xsl:stylesheet version=&...
ashish sharma's user avatar
0 votes
2 answers
62 views

i have ran out of ideas on my XSLT 1.0 below. Could you guys guide me on how to insert a delimiter between every node values? My source XML: <NtryDtls> <TxDtls> <...
smokey's user avatar
  • 5
0 votes
1 answer
87 views

I'm trying to find the different unique data of a specific field. For some, it finds them correctly, for others, it doesn't seem to be evaluated, but is detected as existing. It's supposed to write in ...
Nicolas Tremblay's user avatar
-1 votes
1 answer
93 views

I am trying to translate names to display correctly in a database using xsl version 1.0 logic that have special characters, specifically umlauts. I have been able to get ö, ä, and ü to be translated ...
flea02's user avatar
  • 9
0 votes
1 answer
52 views

Section 5.8 (Built-in Template Rules) of W3C specs for XSLT 1.0 explicitly lists built-in template rules and their behaviour for all node types in the "no-mode" case (<xsl:template> ...
Peter's user avatar
  • 385
0 votes
1 answer
62 views

I know there are multiple articles about merging and grouping with XSLT, however I couldn't really find an article specific for my case and to be honest, I think merging/grouping in XSLT is rather ...
Robin Haes's user avatar
0 votes
1 answer
36 views

I need to be able to transform various XML structures into URL query strings. The tricky part is, that there are multiple XML structures, so the transformation would have to be dynamic/generic. Here ...
nikiforos6's user avatar
0 votes
2 answers
113 views

First of all, I am completly new to xslt. I have a program that gives me an xml file with the following layout <?xml version="1.0" encoding="utf-8"?> <Statistic> &...
Martin Bo's user avatar
0 votes
1 answer
76 views

Am trying to split the xml file in to multiple xml files based on the xml tag / in the input xml file. the individual output xml files should go in sequence as per the input xml /from top to bottom of ...
raviteja's user avatar
0 votes
0 answers
67 views

I am trying to add a footer at the end of each page in my XSLT file in this format: "Page (current page number) of (max page number) - + <timestamp DD/MM/YYYY HH:MM:SS>" Here is a ...
DataCrunch's user avatar
1 vote
1 answer
55 views

I have (thanks to SO!!) already some XSLT to "filter and remove / xsl:copy" using clearly defined conditions, but now I'm facing a kind of "Wildcards / search everything on everywhere&...
Pierre de la Verre's user avatar
0 votes
1 answer
64 views

I looking for a good example how inject javascript inside of XSLT file and then will be transformed into html. My transformation works very well, but when I following every documentation about adding ...
Michal's user avatar
  • 1
0 votes
0 answers
24 views

We are having issue with an export failing and it's calling out the offending line and column but the problem is I cant identify in the XSLT Line number 19 and column 33 is just open space The spill ...
CDS's user avatar
  • 1
0 votes
1 answer
57 views

I am still new to XSLT. My last question was trying to get similar IDs and Names grouped together. I got a great answer that did help me group by ID but now it's grabbing all the sibling nodes that ...
MPourier's user avatar
1 vote
2 answers
52 views

This is input XML: <deliveryStatusRequest> <Partner> <partyRoleId>A47422</partyRoleId> <Banner> <partyRoleId>A47423</partyRoleId&...
Rookie Programmer Aravind's user avatar
0 votes
1 answer
56 views

I have below XML where I want to extract the p2 element value for p1 value is Orange using XSLT and then show that value in the variablePrint tag. <rootyFruity xmlns:h="http://www.w3.org/TR/...
Sandeep's user avatar
  • 816
0 votes
1 answer
68 views

I am trying to create a generic XSLT that will work with multiple types of queries. I found an XSLT format that seems to work for everything I need, except looping to the next user. Within the program ...
MPourier's user avatar
2 votes
1 answer
76 views

The HandlingUnitItem (/HandlingUnit/HandlingUnitItem/HandlingUnit/HandlingUnitItem) in the XML path getting repeated in the XML output. I'm not able to figure out why it was getting repeated in the ...
Hari's user avatar
  • 21
0 votes
1 answer
51 views

I have an XML in which I wish to sort different nodes based on different criteria. I wish to have the output as an XML as well. The issue I run into is when a node-set matching one of the sort is an ...
Happy Green Kid Naps's user avatar
0 votes
1 answer
54 views

I'm completely new to XSLT and I've the following problem to solve, hoping in some suggestions and help. With this xml as input <?xml version="1.0" encoding="utf-8"?> <...
Flavio's user avatar
  • 3
0 votes
2 answers
42 views

I have below input XML with SOAP envelope and need to remove soap envelope in output xml. <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="...
janardhan d's user avatar
0 votes
1 answer
69 views

I have below incoming xml format and for this input XML I just need to add soap envelope. Input xml <?xml version="1.0" encoding="UTF-8"?> <p:msg xmlns:p="http://....
janardhan d's user avatar
0 votes
1 answer
76 views

I have data like this: <?xml version="1.0" encoding="utf-8"?> <TRANSFER xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www....
Pierre de la Verre's user avatar
0 votes
2 answers
61 views

It has been awhile since I coded, and a friend has asked me for help. I can't seem to get my head around it. It's old code I'm trying to fix up. Basically, I'm trying to make a table that indents for ...
n00b's user avatar
  • 1
0 votes
2 answers
66 views

Our company has a system that regularly gets xml files from customer systems. We use xslt to transform the data from the customer structure to an xPath structure supported by our database. 95% of ...
Steve Ostroff's user avatar
0 votes
0 answers
40 views

Belows is the sample XML I have to work with. <item type="food"> <entities> <entity type="fruit" abbreviatedText="BAN">banana</entity> ...
tphallett's user avatar
0 votes
2 answers
73 views

I'm working on an XSLT transformation to create an HTML <button> element with an onclick attribute. When I define the onclick attribute before the button's text content, everything works as ...
Denis's user avatar
  • 227
0 votes
1 answer
48 views

I have a simple v1.0 stylesheet as below. It needs to be v1.0: <xsl:stylesheet version = "1.0" xmlns="http://<redacted>" xmlns:xsl = "http://www.w3.org/1999/XSL/...
FTM's user avatar
  • 17
0 votes
1 answer
64 views

Here’s a snippet of my XSLT code: <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" ...
vikas mishra's user avatar
0 votes
1 answer
66 views

Apologies for the unclear title but I'm unsure of the correct terminology. Allow me to clarify: My starting XML <osmChange> <way id="304298875"> <nd ref="...
DaveF's user avatar
  • 285
0 votes
1 answer
85 views

My XML (snip): <way id="1237072661"> <nd ref="11488882051"/> <nd ref="11488882048"/> <tag k="railway" v="station&...
DaveF's user avatar
  • 285
1 vote
1 answer
74 views

I'm using XSLT to make HTML out of XML, and in my code I have something like this: <input/> but XSLT convert it to HTML like <input></input>, so W3 validator shows me errors like &...
coda's user avatar
  • 13
1 vote
2 answers
130 views

Hey all I am newish at XSLT and have a XSLT output that contains some json within elements. I've been looking around to see if there is anyway for XSLT to replace the json with just a string: Ex: <...
StealthRT's user avatar
  • 10.6k
1 vote
1 answer
52 views

In the below XML for first line ref=1 , sum of name elements equals to 5(2+3) and for second line ref=2, it is 3. I need to produce 1,2,3,4,5 for first line and 1,2,3 for second line depending on the ...
Akash's user avatar
  • 45
0 votes
2 answers
64 views

I have data from water-pipes, in my example two valves ("Absperrorgan") and 4 text-labels. The first valve "101" has one label "xx", the valve "cd" has labels &...
Pierre de la Verre's user avatar
0 votes
2 answers
67 views

What I have: I have an OLD.XML file I create ("copy") a NEW.XML which is nearly the same, but some nodes are filtered out / not copied What do I use: An XSLT with a base-template "xsl:...
Pierre de la Verre's user avatar
0 votes
1 answer
68 views

I have a requirement ,as below, in XSLT A sample xml input replicating my actual scenario. <Root> <List1> <list1Child> <Id>1</Id> <...
user avatar
0 votes
1 answer
27 views

I am trying to print the values in a loop for multiple occurences where one of the value's header tag is different from the other. The count of the child3 tag may be more than the child1 tag but the ...
Bhuvanesh Kumar's user avatar
0 votes
1 answer
70 views

I have an xml input like this : <DepartmentData> <Department> <Employees> <Employee> <Id>123</Id> <Name>John</Name> ...
Ravi Ranjan's user avatar
0 votes
1 answer
66 views

I have the following xml and i would like to only filter the attributes of node "A" using XLST version 1.0 transformation <A a_1="a1" a_2="a2"/> <B> <C>...
Carlitos Overflow's user avatar
1 vote
1 answer
87 views

I'm trying to do nested grouping in XSLT 1.0 and am facing some issues, below is my XML sample code. <?xml version="1.0" encoding="iso-8859-1"?> <INVOICE> <GROUP ...
Javier Bosque's user avatar
0 votes
2 answers
233 views

My goal is to achieve a output xml where initial first 2 nodes have namespace as below. <tp:Revision>2.0.10</tp:Revision> <tp:Header> and from message and all of its child nodes have ...
Shashiraj Noorithaya's user avatar
0 votes
1 answer
112 views

I have a XML file having default namespace xmlns="http://www.xxxx.com/xyz" and target namespace xmlns:tns="http://www.xxxx.com/xyz" , Both need to be removed <?xml version="...
Abhijit's user avatar
  • 15
0 votes
2 answers
99 views

With below XSLT code able to convert from XML to CSV with enclosed quotes, but the child node (Details) is appearing in the same line. Update: As mentioned in the forum I have updated the question ...
janardhan d's user avatar
0 votes
0 answers
36 views

I have a XSLT code where it displays the info in the form of table shown in the image where it display the packages information based on cartons numbers/package numbers individually AS SHOWN IN IMAGE ...
bsr's user avatar
  • 1

1
2 3 4 5
123