str
<< "<product"
" name=\"" << xml_encode(p.name()) << "\""
- " version=\"" << p.edition() << "\""
+ " version=\"" << p.edition().version() << "\""
+ " release=\"" << p.edition().release() << "\""
+ " epoch=\"" << p.edition().epoch() << "\""
" arch=\"" << p.arch() << "\""
+ " registerrelease=\"" << xml_encode(p.registerRelease()) << "\""
" vendor=\"" << xml_encode(p.vendor()) << "\""
" summary=\"" << xml_encode(p.summary()) << "\""
" shortname=\"" << xml_encode(p.shortName()) << "\""
str
<< "<pattern"
" name=\"" << xml_encode(p.name()) << "\""
- " version=\"" << p.edition() << "\""
+ " version=\"" << p.edition().version() << "\""
+ " release=\"" << p.edition().release() << "\""
+ " epoch=\"" << p.edition().epoch() << "\""
" arch=\"" << p.arch() << "\""
" vendor=\"" << xml_encode(p.vendor()) << "\""
" summary=\"" << xml_encode(p.summary()) << "\""
return str.str();
}
-// ----------------------------------------------------------------------------
\ No newline at end of file
+// ----------------------------------------------------------------------------