Author: kkaempf
Date: Fri Jul 6 23:20:57 2007
New Revision: 39229
URL: http://svn.opensuse.org/viewcvs/yast?rev=39229&view=rev
Log:
xml output fixes
- use attributes instead of elements
- fix yeunary and yebinary accordingly
Modified:
trunk/core/libycp/src/Type.cc
trunk/core/libycp/src/YExpression.cc
Modified: trunk/core/libycp/src/Type.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/libycp/src/Type.cc?rev=39229&r1=39228&r2=39229&view=diff
==============================================================================
--- trunk/core/libycp/src/Type.cc (original)
+++ trunk/core/libycp/src/Type.cc Fri Jul 6 23:20:57 2007
@@ -157,10 +157,9 @@
std::ostream &
Type::toXml( std::ostream & str, int indent ) const
{
- str << "";
return str;
}
Modified: trunk/core/libycp/src/YExpression.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/libycp/src/YExpression.cc?rev=39229&r1=39228&r2=39229&view=diff
==============================================================================
--- trunk/core/libycp/src/YExpression.cc (original)
+++ trunk/core/libycp/src/YExpression.cc Fri Jul 6 23:20:57 2007
@@ -1273,10 +1273,10 @@
std::ostream &
YEUnary::toXml (std::ostream & str, int indent ) const
{
- str << "<yeunary>";
+ str << "";
m_arg->toXml( str, 0 );
return str << "</yeunary>";
}
@@ -1388,10 +1388,10 @@
std::ostream &
YEBinary::toXml (std::ostream & str, int indent ) const
{
- str << "<yebinary>";
+ str << "";
m_arg1->toXml( str, 0 );
m_arg2->toXml( str, 0 );
return str << "</yebinary>";
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org