5 Jul
2007
5 Jul
'07
08:53
* Benji Weber
On 04/07/07, Klaus Kaempf
wrote: As part of hackweek project http://idea.opensuse.org/content/ideas/ycp-to-ruby-translator I just committed changeset #39159 to yast-core on svn trunk.
This changeset adds toXml() methods to all YCP and YCode classes, giving all ycp code and data structures a representation as XML.
Nice,
Could you post an example of how to consume this? i.e. How can one take some YCP and convert it to XML.
Just run ycpc -x -c filename.ycp and it will create filename.xml in the same directory. I'll write more on my blog. Klaus -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org