OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Accessing default attributes from DTD

[ Lists Home | Date Index | Thread Index ]
  • From: Amit Rekhi <amitr@abinfosys.com>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 14 May 1998 14:55:44

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS