[jdom-interest] XML through socket and URI problem

Elliotte Rusty Harold elharo at metalab.unc.edu
Wed Sep 1 06:33:08 PDT 2004


At 3:21 PM -0300 8/30/04, Flávio Marim wrote:

>Like suggested in forum archives and it worked fine.
>The problem is that I'll never have a stored xml file. It comes from a
>socket connection so I can't use the (2) method.
>

The socket comes from somewhere. What's the URL 
of the socket you're reading? Pass that URL as 
the second argument to build, As long as the 
protocol is http or ftp or something else Java 
supports you should be fine.
-- 

   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA



More information about the jdom-interest mailing list