Hi Damon,

Xalan allows you to instantiate and call methods on Java object and
other BSF supported scripting languages. You can also write your own
extensions in Java and bind them to an element, effectively creating a
custom tag library. Documentation and examples are available:

http://xml.apache.org/xalan-j/extensions.html

Regards,
Julien


Damon Rand wrote:


This is not documented and subject to change though. It will only work
with Xalan. You can also directly call Java code (declare
xmlns:java="http://xml.apache.org/xslt/java). Again, this is the
syntax for Xalan:

<xsl:value-of select="java:java.net.URLEncoder.encode($value)"/>


Wow, thats really nice. Presumably it only works with static functions that
return String output?

Damon.

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users


_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to