[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: What are the practical, negative consequences ofthinking t
- From: Kurt Cagle <kurt.cagle@gmail.com>
- To: Peter Flynn <peter@silmaril.ie>
- Date: Sat, 18 Feb 2017 15:28:14 -0800
I'll echo the general sentiment that it matters more in documents than it does in encoding of data.
For data, I typically use the convention that attributes are either for keys or key references,
<employees> <employee id="emp110"> <name>Jane Doe</name> <worksFor idref="emp111"/> </employee> <employee id="emp111"> <name>Graham Kerr</name> </employee>
</employees>
This is mainly because this echoes RDF usage.
<rdf:RDF> <employee rdf:about="company:employee#emp110"> <name>Jane Doe</name> <worksFor rdf:resource="company:employee#emp111"/> </employee> <employee id="company:employee#emp111"> <name>Graham Kerr</name> </employee>
</employees> You could also encode datatype, but this can be as readily expressed as schema.

- References:
- What are the practical, negative consequences of thinking thatattributes are metadata?
- From: "Costello, Roger L." <costello@mitre.org>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Mukul Gandhi <gandhi.mukul@gmail.com>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: "Simon St.Laurent" <simonstl@simonstl.com>
- RE: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: "Costello, Roger L." <costello@mitre.org>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Rick Jelliffe <rjelliffe@allette.com.au>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Ihe Onwuka <ihe.onwuka@gmail.com>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Rick Jelliffe <rjelliffe@allette.com.au>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Ihe Onwuka <ihe.onwuka@gmail.com>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Peter Flynn <peter@silmaril.ie>
[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
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.
|
|