* `nix-env -q --xml': show query result in XML format for easier
automated processing.
This commit is contained in:
@@ -45,7 +45,7 @@ void XMLWriter::closeElement()
|
||||
}
|
||||
|
||||
|
||||
void XMLWriter::writeShortElement(const string & name,
|
||||
void XMLWriter::writeEmptyElement(const string & name,
|
||||
const XMLAttrs & attrs)
|
||||
{
|
||||
assert(!closed);
|
||||
|
||||
@@ -33,7 +33,7 @@ public:
|
||||
const XMLAttrs & attrs = XMLAttrs());
|
||||
void closeElement();
|
||||
|
||||
void writeShortElement(const string & name,
|
||||
void writeEmptyElement(const string & name,
|
||||
const XMLAttrs & attrs = XMLAttrs());
|
||||
|
||||
void writeCharData(const string & data);
|
||||
|
||||
Reference in New Issue
Block a user