On Sun, 18 May 2008 11:35:05 -0600, Dimitre Novatchev
<dnovatchev(_at_)gmail(_dot_)com> wrote:
XML with some additional restrictions is no longer "XML" and JSON with
restrictions is no longer "JSON" -- it is as simple as that. You are
changing the initial problem and solving another -- and this is not
bad -- but do take care to rename the problem to the new one so not to
confuse anyone that you're trying to do the impossible.
Absolutely agree, Dimitre!
Couple of questions that might help guide the overall conversation in a
productive direction, and therefore towards a renaming of the problem at
hand,
* Is it worth the effort to find ways of transforming JSON into another
serialization format and/or back into JSON (e.g. filtering) using XSLT?
* Is this possible with XSLT 1.0, or is this strictly an XSLT 2.0-type
solution?
* Is it even possible with XSLT 2.0?
* If it isn't possible, what pieces of RFC 4627 would need to be avoided
to make it possible?
* If these pieces were avoided in any given JSON file, would JSON still
be of value?
* In other words, just like I can avoid using DTD declarations in XML
without losing any inherent value or real world applicability, could the
same be said about the pieces of JSON that would need to be avoided to
ensure compatibility with XSLT 2.0?
* Does JSON have to be serialized into XML /before/ it can be transformed
into something else via XSLT 2.0?
I'm sure there are other questions that might help make this conversation
more productive. Thoughts?
--
/M:D
M. David Peterson
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: m(_dot_)david(_at_)3rdandUrban(_dot_)com |
m(_dot_)david(_at_)amp(_dot_)fm
Mobile: (206) 999-0588
http://3rdandUrban.com | http://amp.fm |
http://www.oreillynet.com/pub/au/2354
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--