Accessing default attributes from DTD

Amit Rekhi amitr at abinfosys.com
Thu May 14 14:53:05 BST 1998


Hello All,
	       I want to access default attributes of elements of an XML file(say
A.xml) defined in A.xml's DTD (A.dtd) in an HTML file (say A.html) which
invokes the MSXML java parser and loads the A.xml file. 

		Let me explain my scenario

    	       The A.dtd contains :-
	       .......
		<!ATTLIST TEMP
                        ATTR-1  NUMBER #FIXED "0">
   	       .........

		The A.xml file contains :-
              .....
		<TEMP>....</TEMP>
              ......

		In my A.html file I want to access <TEMP>'s default attribute ATTR-1
(defined in A.dtd) after I parse the A.xml file into a tree using MSXML
java parser.

		How would I do that??? 	     

 	     Any suggestions would help,

							Thanx in Advance,
								AMIT


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list