| « U R NT QFD & Giving Notice | The Most Favoritest Icon » |
"Where I work we keep a lot of data stored in XML files," Ben writes. "They're not your average XML files, though — they're special." His colleague invented the following technique (recommended for senior level XML programmers only).
<rootNode> <numberOfAddresses>110</numberOfAddresses> <address_1>442 Fake St.</address_1> <address_2>61 Main St.</address_2> ... <address_110>3881 N 4th Ave. #5D</address_110> </rootNode>
Ben adds, "Of course this means that an XSD schema is absolutely impossible to define."
|
Clearly they need to encode the XML itself in XML so they can add the numbers:
See, that's much more customisable, and easier to process. It even allows a character other than underscore to be used... |
|
Sweet, I understand XML now. It's just like an array.
|
| « U R NT QFD & Giving Notice | The Most Favoritest Icon » |