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
19
votes
1 answer

What is the difference between exclude-result-prefixes and extension-element-prefix in XSLT namespace declaration?

What's the difference between exclude-result-prefixes and extension-element-prefix? Both are used in the header of XSLTs. I've found extension-element-prefix while using EXSLT and the EXSLT website Howto says that extension-element-prefix is used…
therealmarv
  • 3,692
  • 4
  • 24
  • 42
16
votes
1 answer

Find the position of an element within its parent with XSLT / XPath

Apart from rewriting a lot of XSLT code (which I'm not going to do), is there a way to find the position of an element within its parent, when the context is arbitrarily set to something else? Here's an example:
Daniel Cassidy
  • 24,676
  • 5
  • 41
  • 54
4
votes
3 answers

How do I enable XSLT 2.0 processor in JBoss eap 6.1 server, to get rid of errors like XSLT 2.0 functions are not available

I am trying date formatting in XSLT 2.0. When I try to run it in my workspace it runs fine and I get a proper response. But when I try to achieve the same after deploying the my jar on JBoss eap 6.1, I get below error: 16:35:02,311 ERROR [XSLTUtil]…
dev
  • 1,343
  • 2
  • 19
  • 40
4
votes
2 answers

Concatenating XML

I have three files of xml Cyprus Argaka Villa…
designermonkey
  • 1,078
  • 2
  • 16
  • 28
3
votes
2 answers

Best approach for combining several XSLT 1.0 passes which process the same nodes

I'm doing some very complex XSLT 1.0 transformation (currently using 8 XSLT passes). I want to combine this 8 passes without merging them in one file (this would be too complex). My solution would be using xsl:include and exsl:node-set to merge the…
therealmarv
  • 3,692
  • 4
  • 24
  • 42
1
2 3
10 11