![](https://seccdn.libravatar.org/avatar/d18d0fd84170a8255c30388a800b96c8.jpg?s=120&d=mm&r=g)
* Benji Weber <b.weber@warwick.ac.uk> [Jul 04. 2007 20:51]:
On 04/07/07, Klaus Kaempf <kkaempf@suse.de> 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