Klaus Kaempf wrote:
I fail to see the relation between a metapackage/repository description and YCP.
The toXml() code 'just' converts, i.e. { integer i = 0; ... return i == 5; }
to
<?xml version="1.0" encoding="UTF-8"?> <ycp> <block kind="file"> <symbols> <entry global category="filename" type="<unspec>">../../../libycp/testsuite/tests/statements/Repeat-Until-Continue.ycp</entry> <entry category="variable" type="integer">i</entry> </symbols> <point>000</point> <statements> ... </block> </ycp>
I see, so it converts YCP code to XML. ...and can it convert XML to YCP? Does it need a special XML format then? Anyway, I misunderstood the message. I saw Benji's comment at that project's page and I thought it was somehow related to another work done by Benji: His own XMLtoYCP module. L.