Questions tagged [exslt]

EXSLT is an extension library for XSLT, mainly for XSLT 1.0. It includes functionality to provide missing language features such as set operations, node-set coercion, date methods, math functions, and type checking. Note that with XSLT 2 and 3 none of these are usually needed as the languages themselves and/or their underlying standards like the XPath 2 or 3 type system or the XPath 2 or 3 function library have all and more integrated and standardised.

The EXSLT project defines the namespaces for the library. To make use of one of these functions or extension elements, the appropriate namespace must be declared on the xsl:stylesheet element and your processor must have support for the particular function or extension element.

158 questions
0
votes
1 answer

XSL add a duration (exslt date)

I have an xsl where I want to display a default expiry date (now+1 month) I can display the current date with this (using: xmlns:date="http://exslt.org/dates-and-times" extension-element-prefixes="date")
Niko
  • 6,133
  • 2
  • 37
  • 49
0
votes
1 answer

Unable to split document using exsl:document in XSLT

I'd like to split one XML file into multiple smalled files using XSLT. I read that this is possible using exsl:document. I've managed to sort-of get it to work except one minor issue — I can only seem to output one file. Here's my XML:
Mridang Agarwalla
  • 43,201
  • 71
  • 221
  • 382
0
votes
1 answer

XSLT 1.0: using EXSLT to get element name according to substring

I have the following XML and I want to get only the element names that start with "MBH":
Peter
  • 1,786
  • 4
  • 21
  • 40
0
votes
2 answers

"Unrolling" a string with XSL

We have an application which has a heirarchical group structure. Some of the groups are passed in this format: /Geography/NA/US/California I would like to "unroll" this string so that I can get a node set like the…
Zack The Human
  • 8,373
  • 7
  • 39
  • 60
0
votes
2 answers

Android: How to use xxx:node-set() for XSLT transform in Android

I have an XSL file which is successful in transforming my XML on the desktop browser. In that XSLT I am making use of the EXLT node-set() function. On trying to transform the same XML file using the same XSL file on Android it throws me an error…
rajeev
  • 1
  • 1
0
votes
1 answer

EXSLT str:replace

Im having issues getting my XML to transform correctly using the EXSLT str:replace template. Here is my XML: ID 98765 ParentID
-1
votes
2 answers

XSLT mapping to remove double quotes which has PIPE delimited symbol inside

Experts, i need to write XSLT 1.0 code to eliminate the Pipe delimited symbol inside double quotes and also need to remove those double quotes.. Input:
Sree
  • 17
  • 7
-1
votes
2 answers

XSLT 1.0 generation of a directory

Is there any facility available in XSLT 1.0 or exslt to generate a result document so that it also creates the directory(ies) in the path if they are not present? Or do I have to create the directory separately before generating the output document?…
Recker
  • 1,915
  • 25
  • 55
1 2 3
10
11