[x3d-public] X3dToJson.xslt error. \n converted to \\ in script

John Carlson yottzumm at gmail.com
Sun Apr 17 17:23:27 PDT 2016


Going with a "  appears not to be an option either.  I think I’m stuck unless I generate my own XML.

John
> On Apr 17, 2016, at 7:15 PM, John Carlson <yottzumm at gmail.com> wrote:
> 
> Input:
> 
> /www.web3d.org/x3d/content/examples//Basic/course/CreateX3DFromStringRandomSpheres.x3d <http://www.web3d.org/x3d/content/examples//Basic/course/CreateX3DFromStringRandomSpheres.x3d>
> 
> Output:
> 
> /www.web3d.org/x3d/content/examples//Basic/course/CreateX3DFromStringRandomSpheres.json <http://www.web3d.org/x3d/content/examples//Basic/course/CreateX3DFromStringRandomSpheres.json>
> 
> \n is being converted to \\
> 
> Please verify in your own environment.  I did not base this on any JSON examples.
> 
> I found this result from roundtripping.
> 
> I’m also having trouble converting \” back to “ in XML.  It seems like either choice is bad (leaving as is or changing), and I may go with "
> 
> Thanks!
> 
> John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160417/3a0d798b/attachment.html>


More information about the x3d-public mailing list