Next I needed to come up with a generic xslt that would transform the Javascript-ish xml representation to JSON.
So after some struggling i ended up with following solution:
So with input below I would get
output below:
Please pay attention to the fact that I even took care of supporting formatting date(time)s and numbers with my implementation.
Another more complex example
will result in
No comments:
Post a Comment