How to concat two files

Hi,I have to read a dtd file from a jar file and to concat it to an XML file to have only one file, i'm encountring some problem on doing this.any Ideas?
[182 byte] By [renodream13] at [2007-9-30 20:01:09]
# 1
What's the problem? Create a new file, write the dtd to the file, and then append the xml. /Kaj
kajbj at 2007-7-7 0:47:38 > top of Java-index,Java Essentials,Java Programming...
# 2

The key to your problem is, how one can inline the DTD content inside XML text.

This is done as follows:

<!DOCTYPE foo SYSTEM "someExternal.dtd" [

><!ENTITY % XML "INCLUDE" >

<!ENTITY % SGML "IGNORE" >

]>

.... normal XML text ...

So possibly you have to add a doctype in front.

The doctype should have an inline section with all your DTD entities and such.

Try it first by hand. Good luck.

joop_eggen at 2007-7-7 0:47:38 > top of Java-index,Java Essentials,Java Programming...
# 3
any idea ?
renodream13 at 2007-7-7 0:47:38 > top of Java-index,Java Essentials,Java Programming...
# 4
> any idea ?Sorry to say this, but the ideas appear above, in replies #1 and #2...
Franck_Lefevre at 2007-7-7 0:47:38 > top of Java-index,Java Essentials,Java Programming...