[xml] Writing DOCTYPE in XML



Hi,

I´m trying to include a DTD in a XML file, by a DOCTYPE line like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE network SYSTEM "test.dtd">
<network>
...
</network>

I´m using xmlwriter module to write the xml, but how can I include the DOCTYPE line to reference test.dtd 
file.

Thank you in advance

________________________ 
José Miguel García 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]