Hi Don,

> > //          parsing document from URI string
> > parser.parse(new File(fileName).toURL().toString());

You know the systemID when you parse your data, therefore you can just
return the document and the systemID in a class that will contain both. More
this class can implement the Document interface and act as a wrapper of the
actual Document. Thus your code will be implementation independent.

Hope that helps,
 George
----------------------------------------------------------------------------
-
George Cristian Bina mailto:[EMAIL PROTECTED]
<oXygen/> XML Editor - http://www.oxygenxml.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to