Get value after each last colon

I need to get the value of each data after the last colon. For example, I have this file: <Data> :20:PmtReferenceID000012 :21:Not used :25: PHMNLBICXXX/Account00010203 :28c:00001/0001 (The 'c' in :28 can be either in upper or lower case) :20:...
more »

2017-08-05 18:08 (3) Answers

XML mapping using XSLT

I want to change an input xml file to a given format. My input xml is: <Syncaaa xmlns="http://www.w3.org/TR/html4/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/TR/html4/ Syncaaa.xsd" releaseID="9...
more »

2017-08-04 09:08 (1) Answers

XSLT streaming with xsl:iterate correct way

I wanted to process a 161mo database, but java saxon9he run out of memory at 300mb of ram and the .NET at 1700mb ram, so I need to use streaming, so I use XMLSpy demo, but I still don't understand the xpath expressions child parent logic. I am on win...
more »

2017-08-02 00:08 (2) Answers

xslt apply template on sorted data

i'm new with xslt transformation and i'm having some trouble with it. I need to both sort and filter elements, in the following example I managed to sort and filter the input xml with two xlt transformations. My question is: how to both sort and then...
more »

2017-08-01 11:08 (1) Answers

Dynamic XSLT generation based on changes in XSD

Initially I had various XSD definition for each XSD I had set of XML files stored. After some time duration there are some changes in XSD definition so my stored XML is no more validation again new XSD. For support I need to write XSLT and do chang...
more »

2017-08-01 09:08 (1) Answers

How to vertically center a letter using XSLT

I'm using XSLT to tranform XML to PDF using FOP. What I want is just center a letter horizontally and vertically, i.e. it should be in the center of the page. What I got so far is this. You can see that it's already horizontally center, but I don'...
more »

2017-07-30 02:07 (1) Answers

rearrange xml nodes by xslt

Hi I am beginner to use the XSLT. I had an XMl with different attributes and my aim is to create a new XML with respective order pattern of attributes. For this I am using the below XSLT <?xml version="1.0" encoding="utf-8"?> <xsl:s...
more »

2017-07-23 09:07 (1) Answers

XSLT <xsl:when test="

I am trying to write an XSL document that tests if an outside parameter value is equal to a particular value in the input XML document. The input XML document has multiple elements at the same level and I need to test each of the same level element...
more »

2017-07-21 19:07 (1) Answers

Getting the value of prefixed XML tag in XSLT

I am trying to get the value of prefixed XML tag data in XSLT. Sample XML: <?xml version="1.0" encoding="utf-8"?> <emp xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://www.w3.org/1999/XSL/dataservices/metadata" xmlns:d="http://www....
more »

2017-07-10 07:07 (2) Answers

Dita to pdf partial two-column output

I'd like to create a pdf base don a dita/xml map where one of the topics is formatted in a newspaper style two-column output. I've found the attribute to use in my layout-masters-attr style sheet: <xsl:attribute name="column-count">2</xsl:...
more »

2017-06-27 11:06 (2) Answers

xml to json using xslt

am trying to convert the XML to Json Conversion by applying the xslt transformation using following code in C#. Am getting following error can any one suggest me on below? Code: Li = p.GetRegisterEntry(); var std = Li.Where(s => s.Id == ...
more »

2017-06-27 09:06 (1) Answers

Xslt 1.0, change date format

As I can change date format, the value comes from an xml its format is "yyyy-mm-dd" and I want to change it to "dd-mm-yyyy" I am using a version of xslt 1.0 This is xml <Valores> <Valor calificacion="1" fecha="2014-07-31" moneda="...
more »

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