Request for advice defining an XML based syntax

John Gossman JohnGo at asymetrix.com
Wed Aug 27 04:38:02 BST 1997


	Thanks for the summary in points 1-5.  Those are exactly the sort of
points I am seeking clarity on.  
	The other option would be fine if I were defining a format with types
like "button".  But OXF is designed to describe generic data, the button
was just an example.  The DTD is strictly optional, perhaps even harmful
in the case of OXF, since the whole purpose is to make it so the reader
can salvage even partial or poorly formed files.

	John Gossman
	Asymetrix
>----------
>From: 	Rick Jelliffe[SMTP:ricko at allette.com.au]
>Sent: 	Tuesday, August 26, 1997 4:47 PM
>To: 	'xml-dev at ic.ac.uk'
>Subject: 	Re: Request for advice defining an XML based syntax
>
>
>You should also consider:
>
><button 
>  left="50" 
>  right="100" 
>  top="80" 
>  bottom="100">
> "Click Here"</button> 
>
>The XML element type declaration for this is:
>
><!ELEMENT button  (#PCDATA) >
><!ATTLIST button
>  left  CDATA  #REQUIRED
>  right CDATA  #REQUIRED 
>  top   CDATA  #REQUIRED
>  bottom CDATA #REQUIRED >
>
>
>
>

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




More information about the Xml-dev mailing list