Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 New ways to work with <extra> data

open
Steven Thomas
None
5
2007-05-08
2007-05-03
Steven Thomas
No

A DOM user has requested the ability to fill in the contents of an <extra><technique> by passing in a raw string of xml data. Maybe something like the following:

technique->setRawContents("<my_element><my_sub_element/></my_element>");

That should create two domAny objects and attach them to the technique.

Going in the other direction would also be nice.

char* rawContents = technique->getRawContents();
// rawContents to be freed by caller

Discussion

  • Steven Thomas
    Steven Thomas
    2007-05-08

    • assigned_to: nobody --> steve314