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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Reduced/Simplified XML

[ Lists Home | Date Index | Thread Index ]
  • From: Ian Stokes-Rees <ijs@decisionsoft.com>
  • To: xml-dev@XML.ORG
  • 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@decisionsoft.com          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@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

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

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