• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Scripting Extensions in XSLT?

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Xalan has a nonstandard feature whereby you can have javascript embedded in your XSL to be executed by your XSLT. Alternatively you can call compiled java functions from your XSLT.

(1) Do other XSLTs have similar features (like saxon)?
(2) Is the ibm/apache/xalan implementation limited to java and javascript or can I use other languages too like groovy, jython and others? Anyone have an example? I queried the groovy email list and they thought it would be possible but apparently no one as tried it. I think I asked the Xalan email list too (about specifically groovy scripting) but know one responded.
(3) Do other implementations support other languages for custom extensions? Can anyone point me to any examples? I am particularly interested in XSLT 2 complaint ones.

Thanks,
Siegfried
 
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Siegfried,
Have you read this article here ?

Hope this will answer some of your questions
 
I once met a man from Nantucket. He had a tiny ad
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic