Re: accessing the DTD

Subject: Re: accessing the DTD
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 01 Sep 1999 17:19:03 -0400
At 99/09/01 12:48 -0500, Larry Mason wrote:
I would like to produce comboboxes or radio buttons based on the list of valid
values for an attribute.  My DTD has the valid values but I can't seem to get
access to the set.  I can get to the active value of the attribute only.

That is correct ... you can only get access to an attribute's specified or defaulted value (and you can't tell which it is, they both "look" the same in the data model).


I've checked the FAQ, the draft and various other links but can't find the
magic.  Thoughts anyone?

In Annex F of XSLT you will see the wish list includes "support for DTDs in the Data Model" which is what you want.


............ Ken

--
G. Ken Holman                    mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.             http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999   (Fax:-0995)
Website:  XSL/XML/DSSSL/SGML services, training, libraries, products.
Practical Transformation Using XSLT and XPath      ISBN 1-894049-01-2
Next instructor-led training:  1999-09-24, 1999-11-08, 1999-12-05/06,
                             1999-12-07, 2000-02-27/28, 2000-05-11/12



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread