[Home] [By Thread] [By Date] [Recent Entries]

  • From: "G. Ken Holman" <gkholman@C...>
  • To: "Costello, Roger L." <costello@m...>,"xml-dev@l..." <xml-dev@l...>
  • Date: Mon, 15 Jun 2015 13:35:08 -0400

At 2015-06-15 16:19 +0000, Costello, Roger L. wrote:
Lesson Learned: when converting XML to JSON you can safely drop all id attributes.
That seems a very broad statement, Roger. In the interest of preserving information and not losing important relationships, I would think it critical not to drop any id or idref attributes. Those relationships may be very important to the information.

Certainly in JSON one wouldn't have the ID attribute type semantic of uniqueness and the IDREF(S) attribute type semantic of referential integrity, but preserving the values of one's ID and IDREF attributes would preserve important relationships expressed within the information even if they were type-less.

. . . . . . . Ken


--
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/video.htm |
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/ |
G. Ken Holman mailto:gkholman@C... |
Google+ profile: http://plus.google.com/+GKenHolman-Crane/about |
Legal business disclaimers: http://www.CraneSoftwrights.com/legal |


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member