I am using the XMLTextWriter to create an xml document. It goes as follows:
writer.WriteSta rtDocument
writer.WriteSta rtElement
writer.WriteEnd Element
etc etc etc
writer.WriteEnd Document
The first line created is <?xml version="1.0" encoding="UTF-8"?>
Between this line and the first element I need to add the following:
<!DOCTYPE paymentService PUBLIC "DTD Name" "URL">
How do I add this line using the XMLTextWriter?
TIA
--
ats@jbex
No mercy for what we are doing
No thought to even what we have done
We don't need to feel the sorrow
No remorse for the helpless one
Metallica - No Remorse
writer.WriteSta rtDocument
writer.WriteSta rtElement
writer.WriteEnd Element
etc etc etc
writer.WriteEnd Document
The first line created is <?xml version="1.0" encoding="UTF-8"?>
Between this line and the first element I need to add the following:
<!DOCTYPE paymentService PUBLIC "DTD Name" "URL">
How do I add this line using the XMLTextWriter?
TIA
--
ats@jbex
No mercy for what we are doing
No thought to even what we have done
We don't need to feel the sorrow
No remorse for the helpless one
Metallica - No Remorse
Comment