Page 1 of 1

Save portion of XMLConfiguration

Posted: 10 Oct 2012, 16:42
by DmitryBogdanov
I have an XMLConfiguration object. I know I can save it to a file using save method, however I don't need entire configuration, but only a fragment of it. Let's consider POCO's example XML document found here - http://www.appinf.com/docs/poco/Poco.Ut ... ation.html I want to save everything under prop3:

<prop3>
<prop4 attr="value3"/>
<prop4 attr="value4"/>
</prop3>

Unfortunately, createView method returns AbstractConfiguration, so this approach cannot be used. Which way should I go?