You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Denis Gaertner <de...@imise.uni-leipzig.de> on 2001/01/10 17:43:15 UTC

creating entity in java

Hi 
I have a problem. I wanna create xml files extracting information from
java objects. I also wanna add references to external xml files using an
external entity. 
How do I achieve an output like this ?

//
  
 <!DOCTYPE mytype SYSTEM "mytype.dtd" [
 <!ENTITY exfile SYSTEM "exfile.xml">
 ]>
  
 ...
  
 &exfile
  
//

I'm not sure if it is already implemented in the DOM Specification.
If not, i'd like to know if there are alternative ways to reference other
xml files, by using java.

Thanks

Denis