Re: [xml] Remove First Two Header Nodes from Xml Doc
- From: Stefan Jeglinski <jeglin 4pi com>
- To: xml gnome org
- Subject: Re: [xml] Remove First Two Header Nodes from Xml Doc
- Date: Wed, 25 Jul 2007 22:18:27 -0400
Now what I wanted to do is to remove the first two tags of the xml
document which are hightlighted below. i.e.
<?xml version=" 1.0" encoding="utf-8"?>
<!DOCTYPE RequestMessage SYSTEM "RequestMessage.dtd">
So what changes are required in the above mentioned code to generate
the xml document which would be like.
Not possible? At the risk of saying something wrong since I've only
been using libxml a couple months, removing those 2 lines would make
the file not xml, so the question falls outside the scope of the API.
If you really want to do it, you could just write custom C code to
remove them, but in that case, you should just write custom C code to
create your desired output to begin with.
I'll gladly consider corrections to my assertion.
Stefan Jeglinski
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]