views:

15

answers:

0

Hi,

assuming the following xml as input

<root><element1>value1</element1><element2>value2</element2></root>

I would like to create a CLI with it's options created automatically from the XML elements

For example:

Enter value for element1: Enter value for element2:

element1 and element2 are extracted from the XML input. Is there any library/software that does that automatically in C/C++?