Author: kkaempf Date: Tue Jul 10 13:47:18 2007 New Revision: 39274 URL: http://svn.opensuse.org/viewcvs/yast?rev=39274&view=rev Log: enclose block statements in <stmt> Modified: trunk/core/libycp/src/YBlock.cc Modified: trunk/core/libycp/src/YBlock.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/libycp/src/YBlock.cc?rev=39274&r1=39273&r2=39274&view=diff ============================================================================== --- trunk/core/libycp/src/YBlock.cc (original) +++ trunk/core/libycp/src/YBlock.cc Tue Jul 10 13:47:18 2007 @@ -1079,9 +1079,9 @@ while (stmt) // write statements { - str << Xmlcode::spaces( indent+2 ); - stmt->stmt->toXml (str, indent+2 ); // YSImport will push it's namespace - str << endl; + str << Xmlcode::spaces( indent+2 ) << "<stmt>"; + stmt->stmt->toXml (str, 0 ); // YSImport will push it's namespace + str << "</stmt>" << endl; stmt = stmt->next; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org