[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: RE: Take 2 - How do you replace comments from XML?


btw, by strange coincidence I just saw some other .Net config files for the
first time (this time Web.config), as details on

"Server Error in '/' Application."


> -----Original Message-----
> From: Simon St.Laurent [mailto:simonstl@s...]
> Sent: 06 March 2003 16:56
> To: xml-dev@l...
> Subject: RE:  RE: Take 2 - How do you replace comments from
> XML?
> danny666@v... (Danny Ayers) writes:
> >I'm curious Simon (or anyone) about how you would go about improving
> >the representation of keys & values (or modelling when the solution
> >seems to suggest keys & values).
> Most of the key/value situations I've seen have fixed sets of keys, or
> at least as fixed as most markup vocabularies.
> So instead of:
> <add key="a" value="1"/>
> <add key="b" value="2"/>
> I'd prefer something like:
> <add>
>   <a>1</a>
>   <b>2</b>
> </add>
> Even where the keys aren't fixed, I still prefer this model.  It leaves
> open the prospect of structured values, which are pretty common in the
> hashmaps I work with, and it's not that much harder to process.
> It's harder to write a schema for this if you're one of those people who
> insist on nailing everything to the floor, but I guess I have little
> sympathy for those folks.  If the information is flexible, the schema
> should keep up, and hiding structure in attribute values seems like a
> lousy hack given XML's focus on labeled structures.
> But hey, if it's just a serialization, why should anyone care?
> --
> Simon St.Laurent
> Ring around the content, a pocket full of brackets
> Errors, errors, all fall down!
> http://simonstl.com -- http://monasticxml.org
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> The list archives are at http://lists.xml.org/archives/xml-dev/
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.