> I really do not see anything useful in having attributes That's because you chose examples that show attributes at their worst.
> I really do not see anything useful in having attributes That's because you chose examples that show attributes at their worst. Suppose that instead of a document with a single author you instead had a document to which many people contributed, and you wanted to mark it up to show who wrote which section. Using attributes (and identifiers) you would have, e.g. <author id=Bob>[info about Bob]</author> <author id=Alice>[info about Alice]</author> <span author=Bob>This part was written by Bob</span> <span author=Alice>and this part was written by Alice</span> <span author=Bob>and this part was written by Bob again.</span> This example also highlights why it is sometimes NECESSARY to use identifiers in order to produce the semantically correct structure. Suppose you put all the author information in-line as you suggest. The result would look something like this: <span><author><name>Bob</name>[info about Bob]</author>This part was written by Bob</span> <span><author><name>Alice</name>[info about Alice]</author>This part was written by Alice</span> <span><author><name>Bob</name>[info about Bob]</author>This part was written by Bob</span> Were the first and third parts written by the same person, or by two different people whose names both happen to be Bob? If you put everything in-line there is no way to express that two pieces of structure are intended to be EQ to each other.
Posted by lisper on May 16, 2015, 2:46 PM
Tags
Related issues
- > Because they don't believe the disasters were inflicted by them.
- Hehe, yeah I'm not sure when John Stewart would have worked there or what the pain points were for him, but he worked there for a bit.
- https://www.apple.com/shop/product/mxcl3ll/a/magic-keyboard-...
- If first-order hybrids made up only a small proportion of the total population of humans and Neanderthals, then the probability that a pa...
- Well, I'd be interested to hear what some of those nuances are, personally.
- My biggest Amazon annoyance.
Raise real-world problems, find people facing the same issue, and discuss solutions.6,500 issues0 comments
hackernews (E-commerce)
> Because they don't believe the disasters were inflicted by them.
Hehe, yeah I'm not sure when John Stewart would have worked there or what the pain points were for him, but he worked there for a bit.
https://www.apple.com/shop/product/mxcl3ll/a/magic-keyboard-...
If first-order hybrids made up only a small proportion of the total population of humans and Neanderthals, then the probability that a pa...
Well, I'd be interested to hear what some of those nuances are, personally.
My biggest Amazon annoyance.
> There's not really an unmet need for innovation in broadband delivery; the issue is running new wires broadband has costs, and in a lot...
Speaking of Amazon's account process, I have a really annoying problem with theirs.
> I really do not see anything useful in having attributes That's because you chose examples that show attributes at their worst.
> I really do not see anything useful in having attributes That's because you chose examples that show attributes at their worst. Suppose that instead of a document with a single author you instead had a document to which many people contributed, and you wanted to mark it up to show who wrote which section. Using attributes (and identifiers) you would have, e.g. <author id=Bob>[info about Bob]</author> <author id=Alice>[info about Alice]</author> <span author=Bob>This part was written by Bob</span> <span author=Alice>and this part was written by Alice</span> <span author=Bob>and this part was written by Bob again.</span> This example also highlights why it is sometimes NECESSARY to use identifiers in order to produce the semantically correct structure. Suppose you put all the author information in-line as you suggest. The result would look something like this: <span><author><name>Bob</name>[info about Bob]</author>This part was written by Bob</span> <span><author><name>Alice</name>[info about Alice]</author>This part was written by Alice</span> <span><author><name>Bob</name>[info about Bob]</author>This part was written by Bob</span> Were the first and third parts written by the same person, or by two different people whose names both happen to be Bob? If you put everything in-line there is no way to express that two pieces of structure are intended to be EQ to each other.
Comments (0)
No comments yet. Start the discussion.