[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Serialization of XDM - Use cases / Proposal
Probably someone has mentioned this, but one approach might be based on Michael's attributes: http://www.w3.org/2002/04/xmlschema-psvi-in-xml I also think there is merit in something like the following: <xdm:typed-document> <xdm:type> <rdf:bag> <xs:string/> <xs:unsignedShort length="4" /> </rdf:bag> </xdm:type> <xdm:data> <address> <city>Sydney</city> <postcode>2009</city> </address> </xdm:data> </xdm:typed-document> Where the original document can be reconstructed merely by taking the /*/*[2]/* branch, and there is one element in the type branch for every element in the data branch. Cheers Rick Jelliffe
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
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
|