Support:<div dir="auto"><br></div><div dir="auto">toWriterXML(Writer w)</div><div dir="auto">toOutputStreamXML(OutputStream os)</div><div dir="auto">fromReaderXML(Reader r)</div><div dir="auto">fromInputStreamXML(InputStream is)</div><div dir="auto"><br></div><div dir="auto">methods in I/O classes or buffering/channel classes (java.nio).  I’ve not used java.nio much.    One can also consider Jackson XML.</div><div dir="auto"><br></div><div dir="auto">Or otherwise support XML Source and Result interfaces, namely:</div><div dir="auto"><br></div><div dir="auto"><div><div style="margin:0px 20px;padding:5px 0px 0px"><div style="margin:5px 0px 0px" dir="auto">javax.xml.transform.Source</div><div style="margin:5px 0px 0px" dir="auto">javax.xml.transform.Result</div></div></div><br></div><div dir="auto">and implementers (preferred over above, I think), Sources can return a Node.</div><div dir="auto"><br></div><div dir="auto">I may do this myself.  Let me know if this is already done.</div><div dir="auto"><br></div><div dir="auto">Comments?</div><div dir="auto"><br></div><div dir="auto">It would be good to do this for Classic VRML and VRML97 as well.</div><div dir="auto"><br></div><div dir="auto">The benefit is that the developer can bring any I/O object classes and any XML i/o they want.  I believe that this can provide for formatting/pretty printing as well, and the user should be able to specify what pretty printing they want, so indenting is not necessary, or can be customized.</div><div dir="auto"><br></div><div dir="auto">What I’m ultimately aiming for is flexibility in field output ordering.   I realize this may not do it, can I bring my own stylesheets to X3DJSAIL?  Suggestions on how to override current methods recommended?  I just want to override the HAnimHumanoid class.  I don’t want to touch X3DJSAIL if I can help it.</div><div dir="auto"><br></div><div dir="auto">Another advantage might be that one doesn’t have to hold the whole document in a String on output.</div><div dir="auto"><br></div><div dir="auto">Breathe Java!</div><div dir="auto"><br></div><div dir="auto">John</div><div dir="auto"><br></div>