[xml] Adding a DTD to the output xml-file

I have tried to use the xmlParseDTD method to read a DTD-file that I would
like to add to my xml-file as an internal subset. With the method
xmlCreateIntSubset I can add an empty one but I have not found out how to
add the dtd-content to it.

I thought I could read my dtd-file with xmlParseDTD and then add it somehow
to the xmlDtdPtr pointer returned by xmlCreateIntSubset but I have not been
successfull in my excercise.

I would appreciate any advice on this!

Kaarle Kaila
email: kaarle dot kaila at iki dot fi

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