-
December 10th, 2011, 01:26 AM
#1
pugixml and node_pi
I would like to make pugixml print the node_pi as
Code:
<?xml version="1.0" encoding="utf-8"?>
How could I manipulate node_pi through pugixml?
Thanks
-
December 10th, 2011, 02:17 AM
#2
Re: pugixml and node_pi
How exactly is it formatting it?
-
December 11th, 2011, 03:49 AM
#3
Re: pugixml and node_pi
How exactly is it formatting it?
By default, when I type
Code:
pugi::xml_document doc;
doc.save_file("kkk.xml");
The node_pi would always looks like this
Code:
<?xml version="1.0"?>
But I want it to append one more attribute, like below
Code:
<?xml version="1.0" encoding="utf-8"?>
But I don't know how to manipulate node_pi of pugixml
-
December 11th, 2011, 08:06 AM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|