From: SourceForge.net <no...@so...> - 2006-12-19 22:09:33
|
Support Requests item #1619088, was opened at 2006-12-19 22:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=467782&aid=1619088&group_id=52718 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: aiscape (aiscape) Assigned to: Nobody/Anonymous (nobody) Summary: xml file properties Initial Comment: Hi I'm a xml noob and want to try cppdom in a tiny project. I want to read in xml files, modify it and write it out. Manipulating nodes works as expected but I have the problem that the input files have xml attribs like encoding or standalone and cppdom doesn't write out these properties while savin' the document. Sample: I read in the following xml, modify the stuff inside element <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <element> bla bla </element> and get the following after writing the doc to file: <?xml version="1.0" ?> <?xml ?> <element> bla bla </element> After modifing the same file twice, I get: <?xml version="1.0" ?> <?xml ?> <?xml ?> <element> bla bla </element> What's going on here. I'm sure I missed something. Please, can you help me out? Thanks a lot for help and for developing cppdom. I like it 'cause it is so small. Cheers, Yves. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=467782&aid=1619088&group_id=52718 |