|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Lessons learned from the XML experiment
----- Original Message ----- From: "Uche Ogbuji" <uche@ogbuji.net> To: "Pete Cordell" <petexmldev@codalogic.com> Cc: "Michael Kay" <mike@saxonica.com>; "Timothy W. Cook" <tim@m...>; "Hans-Juergen Rennau" <hrennau@yahoo.de>; <xml-dev@l...> Sent: Thursday, November 14, 2013 4:12 PM Subject: Re: Lessons learned from the XML experiment On Thu, Nov 14, 2013 at 9:11 AM, Pete Cordell <petexmldev@codalogic.com>wrote:XML tools work quite well using XML namespaces when you have nested vocabularies (potentially not under your control) which have the same local name, e.g.: <p:person xmlns:p='http://example.com/person'> <e:employer xmlns:e="http://example.com/employer"> <e:name>Megaco</e:name> </e:employer> <p:name>Fred Blogs</p:name> </p:person> Here, each instance of name is easily identified as unique. You have to work harder with existing tools if the XML is something like the following: <com.example.person> <com.example.employer> <name>Megaco</name> </com.example.employer> <name>Fred Blogs</name> </com.example.person> Pete Cordell Codalogic Ltd C++ tools for C++ programmers, http://codalogic.com Read & write XML in C++, http://www.xml2cpp.com
[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
|
|||||||||

Cart








