[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Structured attributes + Groves
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@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|