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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Structured attributes + Groves

[ Lists Home | Date Index | Thread Index ]
  • From: "Anders W. Tell" <anderst@toolsmiths.se>
  • To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>, XML-dev@xml.org
  • Date: Fri, 03 Mar 2000 11:55:46 +0100

Why not go all the way and have partial grove support...

<person>  defaulted to 'content' property
  <..first> structured attribute ie: defaulted to 'Attribute' property</..first>

  <.propName.namespace:next> another generic property</.propName.namespace:next>

</person>

and change SAX2 into SAXX...

   startElement(propertyName, namespaceURI, localName, rawName)
   endElement(propertyName, namespaceURI, localName, rawName)

event sequence...

startElement("content",namespaceURI, "person, "person")
  startElement("attribute",namespaceURI, "first, "first")
    characters(" structured attribute ie:  property: defaulted to 'Attribute'
");
  endElement("attribute",namespaceURI, "first, "first")
  startElement("propName",namespaceURI, "next, "namespace:next")
    characters("another generic property");
  endElement("propName",namespaceURI, "next, "namespace:next")
endElement("content",namespaceURI, "person, "person")


/Anders
--
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
/  Financial Toolsmiths AB  /
/  Anders W. Tell           /
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/



***************************************************************************
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