[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Enlightenment via avoiding the T-word
The example below can be handled easily using Atoms and Molecules design pattern. Looking at the example from this perspective, I see: Atoms: name, address, mode, price, quantity Molecules: customer, delivery, product String Molecules: lines, line Super Molecule purchase What we need is a XML processing framework that supports molecules and atoms design pattern. What we don't need is more complications and fancy if-but-when-must at what I consider to be lexical slum level. *argh* I am starting to sound like Len. Best, Don Park > > <purchase xmlns="http://foobar/purchase"> > <customer> > <name>Nicolas</name> > <address>Paris, France</address> > </customer> > <delivery> > <mode>UPS</mode> > <address>Somewhere else</address> > </delivery> > <lines> > <line> > <!-- duh, will this wake up Echelon :) ? --> > <product> > <name>ACME Explosives</name> > <price currency="dollar">2000</price> > </product> > <quantity>200</quantity> > </line> > </lines> > </purchase>
|
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
|