[xsl] Recovering the 'document order' of parsed json

Subject: [xsl] Recovering the 'document order' of parsed json
From: David Cramer <david@xxxxxxxxxxxx>
Date: Mon, 28 Oct 2013 20:11:35 -0500
Greetings,
I have some xml that points to various JSON code samples. My goal is to
parse the JSON and turn it into XML to include it in documentation (e.g.
by generating a table to which descriptions will be added or perhaps
rewriting the JSON with callouts added ).

I'm experimenting with parse-json and the map functions, but I gather
that once parse-json gives me a map, I have no way of recovering the
original order of the keys in the source json.

Is that correct or am I overlooking something?

Regards,
David

Current Thread