[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to ??

  • From: raju <raju@w...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Tue, 16 Mar 1999 17:56:41 +0530

rajendra kadam
Hi friends,
	I'm Rajendra Kadam.
I had gone through book 'Just XML'. It is really interesting.Currently I'm writing an XML Editor using the XML Library provided by Sun. ( Java-X project.)  But I'm facing some problems. I will now explain in detail my problem :

	For Eg. I have an xml file "catalog.xml"  with its DTD in "catalog.dtd". I'm attaching the both the files here. 
	   
	Now in my XML Editor, whenever an Element has an attribute, I want to display the all values that an attribute can take with current assigned value.
	But when I gone through the Java-X document, I got methods that will give me the current value of the attribute of an element. But is there any way, so that I can get the all possible values for an attribute in my Application ??
	In above DTD, PRODUCT element has an attribute CATEGORY which can have any one of the following values :
	" Handtool | Table | Shop-Professional " with default value "Handtool". So my question is, how can I get the all above three values for the attribute CATEGORY in my Application.
	
	Sorry for asking you problem by personally sending mail.	

	Thanking you,
	Rajendra B. Kadam. 	
 
   

catalog.dtd

catalog.xml


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.