- From: Kurt Cagle <kurt.cagle@g...>
- To: Peter Flynn <peter@s...>
- 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@m...>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Mukul Gandhi <gandhi.mukul@g...>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: "Simon St.Laurent" <simonstl@s...>
- RE: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: "Costello, Roger L." <costello@m...>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Rick Jelliffe <rjelliffe@a...>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Ihe Onwuka <ihe.onwuka@g...>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Rick Jelliffe <rjelliffe@a...>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Ihe Onwuka <ihe.onwuka@g...>
- Re: What are the practical, negative consequences ofthinking that attributes are metadata?
- From: Peter Flynn <peter@s...>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|