[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: When converting XML to JSON, you can safely drop all id at
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@CraneSoftwrights.com | 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] |
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
|