Multiple Elements to Flat String Transform

I am looking to transform multiple elements from source xml and combine them in single target string element in comma separated text. Conditions Source Inputs are boolean type, only if value true it should be included in target list E.g. XML <R...
more »

2017-06-06 21:06 (2) Answers

XSLT stylesheet to convert Graphml to SVG

I am having more trouble than expected to find an XSLT stylesheet that converts a simple Graphml document to an SVG diagram. I've searched quite widely, and so far I have only partial success. Here's my input Graphml file: <?xml version="1.0" en...
more »

2017-06-05 21:06 (1) Answers

xslt call template not behaving as I expect

What concept am I missing that I'm not getting what I'm expecting? Also, why would @field be blank (not showing 'location') when matching the 2nd time around? xsl <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http:/...
more »

2017-06-01 16:06 (2) Answers

XML: not working w/ embedded XSLT

I have the following XML file, with embedded XSLT. <?xml version="1.0" encoding="UTF-8"?> <doc> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" id = "style1"> <xsl:import href = "S1000...
more »

2017-05-08 16:05 (1) Answers

XML to CSV using XSLT - preserve polish letters

I'm converting XML to CSV using XSLT. My output line in XSLT is: <xsl:output method="text" encoding="UTF-8" /> There is a lot of polish letters in XML, that's the problem. When I transform the XML from Notepad++ using XML tools plugin, the ou...
more »

2017-05-05 15:05 (1) Answers

How to request jsonp without 'callback' in the URL

I am trying to retrieve information from an Icecast Radio station. The API provides the status-json.xsl to get these data. Although the format is xsl but i believe it returns a JSON file. However I noticed the server does not return the data if the ...
more »

2017-05-01 00:05 (1) Answers

Unknown Function Current-Datetime()

Can someone explain why I'm getting Unknown Function for current-datetime() in this XSLT? I'm using Oxy with Saxon 9.6.0.7. I thought using XSLT 2.0 with current saxon, a straight call to current-datetime(): <?xml version="1.0" encoding="UTF-8"...
more »

2017-04-28 21:04 (1) Answers

XSLT - Special Character transform

I have sample xml like this, <doc> <node>Test</node> <?ABC Text &#x2013; <italic>Text</italic> more text?> </doc> I need to get the value of processing instruction ABC so I wrote following temp...
more »

2017-04-27 12:04 (1) Answers

XSLT-FO for-each

This is my xml: <OrdersSchedulePDFView> <OrdersSchedulePDFViewRow> <Locations> <LocName>Text1</LocName> <LocName>Text2</LocName> </Locations> </OrdersSchedulePDFViewRow>...
more »

2017-04-27 09:04 (2) Answers

xsl help for html table

Newbie to xslt. I have a xml file which cannot be changed and looks like the below. id attribute will exist in all elements, but the other variables may or may not exist. Any help to approach representing this in xslt is greatly appreciated! Thanks! ...
more »

2017-04-24 13:04 (2) Answers

Trying to understand xsl:key

I am new to xslt and I am trying to learn xslt 1.0. I am trying to figure out how I can obtain the following result with my xml file. I played around a lot with my xsl file but I think there is something I just don't get because it's not working at...
more »

2017-04-16 21:04 (1) Answers

Defining XSLT to Transform XML to XML

I have tried converting the following XML to another XML document using the XSLT style sheet I have created. The output is not giving me what i want, the output is not the right xml nodes nor is it outputting the tags. Please could someone help. Th...
more »

2017-04-11 00:04 (1) Answers