[
Lists Home |
Date Index |
Thread Index
]
Hi Elliotte,
> Do any RELAX NG implementations support user defined type libraries?
> i.e. something like XSLT extension functions?
>
> For instance, is it possible in any tools (and if so which ones) to
> plug in my own code written in Java/C#/Python/XSLT/whatever that
> would verify that an element contains a prime number?
There's certainly a Java interface for RELAX NG pluggable datatypes,
supported by Jing (and others), see:
http://www.thaiopensource.com/relaxng/pluggable-datatypes.html
The Datatype Library Language (DTLL) that I've been working on should
eventually provide a declarative method for defining datatypes for
RELAX NG (etc.), but it's at a fairly early stage, and there aren't
any implementations yet. See:
http://www.jenitennison.com/datatypes/
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
|