From 0eea91e31ed90c82acc45c221be689c10e4f779c Mon Sep 17 00:00:00 2001 From: Bart vdr. Meulen Date: Sun, 20 Jun 2010 22:48:09 +0200 Subject: [PATCH 2/2] Replace keyword node with hwnode for TinyXpath compatibility It turns out that within TinyXpath 'node' is a reserved key-word. Replace it with 'hwnode' when printing to xml. Signed-off-by: Bart vdr. Meulen Signed-off-by: Remy Bohmer --- src/core/hw.cc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hw.cc b/src/core/hw.cc index 36679d3..367729b 100644 --- a/src/core/hw.cc +++ b/src/core/hw.cc @@ -1343,7 +1343,7 @@ string hwNode::asXML(unsigned level) if(visible(getClassName())) { out << spaces(2*level); - out << "" << endl; + out << "" << endl; } return out.str(); -- 1.7.1