[Home] [By Thread] [By Date] [Recent Entries]
On 02/05/2025 14:37, Peter Flynn peter@xxxxxxxxxxx wrote:
On 02/05/2025 13:07, Michael B Allen ioplex@xxxxxxxxx wrote: [...]For example, it is commonplace to do something like the following:
https://www.w3.org/TR/xml-i18n-bp/#DevAttributes I couldn't see anything in the Best Practices about enumerable alternatives, but it probably depends on to what extent you consider something like a state abbreviation to be user readable content (and when and how you're going to process the content before presenting it to a user). Anyway, my point is that the only "correct" way to convert JSON to XML is to understand in advance which of the many XML representations is "correct" for your particular application and then write code to explicitly perform that conversion. I think that we can all agree that's correct. Regards,
|

Cart



