Subject: Re: schema's and getting enumeration values
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Mon, 30 Apr 2001 16:08:33 +0100
|
Hi Rob,
> Is there some way (using the latest Xalan or Saxon) to get
> enumeration values and use them in XSLT?
>
> Do I need to use document() and treat it like a normal xml page?
Yes, you need to use document() and treat is like a normal XML page.
There's nothing in XSLT 1.0 that supports XML Schema automagically,
though there will be in XSLT 2.0. If you don't have a religious
objection to the Evil Empire, you could try having a look at MSXML 4.0
which is supposed to have some support for XML Schema.
I hope that helps,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|