# HG changeset patch # User cin # Date 1523219411 -10800 # Node ID 14162f9133a159497e639ec22fe62e012a4202c6 # Parent 19a8a71eaa54fd352b3b667d5e83bb6f6df8da5a working on xml to json transform diff -r 19a8a71eaa54 -r 14162f9133a1 data/jsondata.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/jsondata.xml Sun Apr 08 23:30:11 2018 +0300 @@ -0,0 +1,12 @@ + + + Harry + Busy + 23 +
+ 1st avenue +
+
+ 2nd avenue +
+
\ No newline at end of file diff -r 19a8a71eaa54 -r 14162f9133a1 xslt/json.xsl --- a/xslt/json.xsl Mon Mar 12 02:58:34 2018 +0300 +++ b/xslt/json.xsl Sun Apr 08 23:30:11 2018 +0300 @@ -1,38 +1,72 @@ - - - - + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + + + + + + + + { + + } - - [ - - - , - - ] + + + + + + + + + + + + + : + + + , + - - " : " - , + + + + null + + + + true + + + + false + + + + + + + + + + + + + + - - - { } - true - false - null - - "" - + + + + - - - : - + \ No newline at end of file