Pages: 1
Print
Author Topic: Reading DTD  (Read 1050 times)
sapraaman
Member

Posts: 17


« on: June 16, 2010, 10:26:40 PM »

Hi,

Is it possible to read the underlying DTD and extract information about the attributes of a specific element, like list of attributes, whether an attribute is implied, default value of an attribute, possible values of an attribute, etc.?

Thanks,
Aman
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 1552



WWW
« Reply #1 on: June 17, 2010, 03:22:50 AM »

Yes (the Programmer's Guide is your friend here).

See the following to start with and in particular all of the properties and methods linked to from there:
http://na.justsystems.com/webhelp/en/xmetaldeveloper/pg/6.0/pg.html#DOMDocumentType
Logged
sapraaman
Member

Posts: 17


« Reply #2 on: June 17, 2010, 11:57:35 PM »

Cool, thanks. I think for these type of queries, they use the word RTFM. You missed the chance Derek!!
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 1552



WWW
« Reply #3 on: June 18, 2010, 12:37:52 AM »

Exactly, except, who really has the time to hunt their way through a list of 1200+ APIs? ;-)
Logged
Pages: 1
Print
Jump to: