Discussion:
Inserting DOCTYPE into wxXML output
Michael Uman
2014-09-03 22:13:16 UTC
Permalink
Hello,

This question was asked in 2007 and no answer was ever provided. I would
like to think it is possible to add a DOCTYPE element inside an XML
document... How does one go about adding a DOCTYPE node, I thought this was
related to the function

The line I would like to insert is:

<!DOCTYPE probe_config SYSTEM "config.dtd">

Thank you,
Michael Uman
Sr. Software Engineer, System Tools
Sigma Designs
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Michael Uman
2014-09-04 22:17:45 UTC
Permalink
I can't believe nobody has ever been able to set a DOCTYPE in an XML using
wxWidgets...

I would appreciate a clue...
Post by Michael Uman
Hello,
This question was asked in 2007 and no answer was ever provided. I would
like to think it is possible to add a DOCTYPE element inside an XML
document... How does one go about adding a DOCTYPE node, I thought this was
related to the function
<!DOCTYPE probe_config SYSTEM "config.dtd">
Thank you,
Michael Uman
Sr. Software Engineer, System Tools
Sigma Designs
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Julian Smart
2014-09-04 22:47:11 UTC
Permalink
If no better answer is forthcoming, maybe just read the XML file into a
wxTextFile, insert the line, and write the text file back out.

Regards,

Julian
Post by Michael Uman
I can't believe nobody has ever been able to set a DOCTYPE in an XML
using wxWidgets...
I would appreciate a clue...
Hello,
This question was asked in 2007 and no answer was ever provided. I
would like to think it is possible to add a DOCTYPE element inside
an XML document... How does one go about adding a DOCTYPE node, I
thought this was related to the function
<!DOCTYPE probe_config SYSTEM "config.dtd">
Thank you,
Michael Uman
Sr. Software Engineer, System Tools
Sigma Designs
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
or visit http://groups.google.com/group/wx-users
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Michael Uman
2014-09-05 01:57:30 UTC
Permalink
Hello Vadim,

Thank you for the suggestion. I just may have to do this... But it seems
like a 'hassel'. Maybe I will delve into reading the source of this library
to try to reverse engineer it. I would have thought that GetDocumentNode()
would return a wxXmlNode* to the document type section but this is not the
case.

Thanks again,
Michael Uman
Post by Julian Smart
If no better answer is forthcoming, maybe just read the XML file into a
wxTextFile, insert the line, and write the text file back out.
Regards,
Julian
Post by Michael Uman
I can't believe nobody has ever been able to set a DOCTYPE in an XML
using wxWidgets...
I would appreciate a clue...
Hello,
This question was asked in 2007 and no answer was ever provided. I
would like to think it is possible to add a DOCTYPE element inside
an XML document... How does one go about adding a DOCTYPE node, I
thought this was related to the function
<!DOCTYPE probe_config SYSTEM "config.dtd">
Thank you,
Michael Uman
Sr. Software Engineer, System Tools
Sigma Designs
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before
posting.
<javascript:>
Post by Michael Uman
or visit http://groups.google.com/group/wx-users
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Michael Uman
2014-09-05 01:58:05 UTC
Permalink
Hello Julian,

Thank you for the suggestion. I just may have to do this... But it seems
like a 'hassel'. Maybe I will delve into reading the source of this library
to try to reverse engineer it. I would have thought that GetDocumentNode()
would return a wxXmlNode* to the document type section but this is not the
case.

Thanks again,
Michael Uman
Post by Julian Smart
If no better answer is forthcoming, maybe just read the XML file into a
wxTextFile, insert the line, and write the text file back out.
Regards,
Julian
Post by Michael Uman
I can't believe nobody has ever been able to set a DOCTYPE in an XML
using wxWidgets...
I would appreciate a clue...
Hello,
This question was asked in 2007 and no answer was ever provided. I
would like to think it is possible to add a DOCTYPE element inside
an XML document... How does one go about adding a DOCTYPE node, I
thought this was related to the function
<!DOCTYPE probe_config SYSTEM "config.dtd">
Thank you,
Michael Uman
Sr. Software Engineer, System Tools
Sigma Designs
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before
posting.
<javascript:>
Post by Michael Uman
or visit http://groups.google.com/group/wx-users
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Loading...