if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
Reading DTD
Pages:
1
« previous
next »
Print
Author
Topic: Reading DTD (Read 1050 times)
sapraaman
Member
Posts: 17
Reading DTD
«
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
Re: Reading DTD
«
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
Re: Reading DTD
«
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
Re: Reading DTD
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...