[
Lists Home |
Date Index |
Thread Index
]
There is a RELAX NG schema for XSLT 1.0, written by James Clark:
http://www.thaiopensource.com/relaxng/xslt.rng
which you can translate into XML Schema with Trang
http://thaiopensource.com/relaxng/trang.html
Viva la RELAX NG!
Mike
------------------------------------------------
On Thu, 5 Feb 2004 11:12:53 -0800, "Jeff Greif" <jgreif@alumni.princeton.edu> wrote:
> In building a WXS schema for a transformation service, I would like to
> incorporate the transforms into the service description directly, rather
> than providing URLs or filenames for them.
>
> What I've done is add, in the appropriate places
>
> <import namespace="the-xslt-namespace"/>
>
> and
>
> <any namespace="the-xslt-namespace" process-contents="skip"/>
>
> but if a schema for XSLT were available, I could write, more safely for the
> latter:
>
> <element ref="xsl:stylesheet"/>
>
> and get partial validation of the stylesheet (according to the schema).
>
> I found such a schema for XSLT 2.0, but not for XSLT 1.0. Even a
> correct-as-far-as-it-goes unofficial one would probably be adequate for my
> needs.
>
> Jeff
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
|