[xml] Writing DOCTYPE in XML


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">

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

Thank you in advance

José Miguel García 

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