[Home] [By Thread] [By Date] [Recent Entries]

  • From: Ian Stokes-Rees <ijs@d...>
  • To: xml-dev@X...
  • Date: Fri, 19 May 2000 18:11:31 +0100 (BST)

Is there any specification ("official", "proposed" or "defacto") for a
reduced XML syntax that removed all attributes and only used tags and
content, but preserved the semantic structure of the original XML?  e.g.:

Before:

<TAG attributeA="value_1" attributeB="value_2" attributeC >
	Content
	<SUB_TAG> Sub Content </ SUB_TAG>
	More Content
	<SINGLE_TAG attributeX attributeY="val" />
</TAG>

After:

<TAG>
	<attributeA> value_1 </attributeA>
	<attributeB> value_2 </attributeB>
	<attributeC />
        Content
        <SUB_TAG> Sub Content </ SUB_TAG>
        More Content
        <SINGLE_TAG>
		<attributeX />
		<attributeY>
			val
		</attributeY>
	</SINGLE_TAG>
</TAG>

Ian.

-- 
ian.stokes-rees@d...          tel: +1865 203 192
DecisionSoft Ltd.                         fax: +1865 203 194
www.decisionsoft.com                      Oxford, UK, OX2 OEA


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member