Mailinglist Archive: yast-commit (747 mails)
| < Previous | Next > |
[yast-commit] r39274 - /trunk/core/libycp/src/YBlock.cc
- From: kkaempf@xxxxxxxxxxxxxxxx
- Date: Tue, 10 Jul 2007 11:47:18 -0000
- Message-id: <20070710114718.8B11326915@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |