1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 07:33:16 +02:00

* `nix-env -q --xml': show query result in XML format for easier

automated processing.
This commit is contained in:
Eelco Dolstra 2006-08-03 15:52:09 +00:00
parent 0e267e2625
commit 339e6f0e1d
3 changed files with 82 additions and 25 deletions

View file

@ -45,7 +45,7 @@ void XMLWriter::closeElement()
}
void XMLWriter::writeShortElement(const string & name,
void XMLWriter::writeEmptyElement(const string & name,
const XMLAttrs & attrs)
{
assert(!closed);

View file

@ -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);