passing dom objects


XML & Web services: passing dom objects

  1. passing dom objects (1 messages)

    I have to read an XML file and pass the DOM object from the server to the client. Then parse the object at client side.
    Is is possible to pass an XML Document as an object using I/O Streams.


    Threaded Messages (1)

  2. passing dom objects[ Go to top ]

    If you mean "is it possible to serialize a DOM object using ObjectOutputStream", the answer is no, it's not.
    Of course, you can pass the XML data on any type of stream simply as XML - by writing the XML to the stream on one end, and reading it from the stream on the other.