[seed] Add some attributes to the test XML file



commit 0d3c66d7dd64834620483d8f505e006d31e9e5e2
Author: Robert Carr <racarr svn gnome org>
Date:   Tue May 12 02:02:18 2009 -0400

    Add some attributes to the test XML file
---
 modules/libxml/libxml.c   |    2 +-
 modules/libxml/sample.xml |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/libxml/libxml.c b/modules/libxml/libxml.c
index c33952c..2c0176e 100644
--- a/modules/libxml/libxml.c
+++ b/modules/libxml/libxml.c
@@ -269,7 +269,6 @@ seed_static_value doc_values[] = {
   {"last", seed_xml_node_get_last, 0, 0},
   {"doc", seed_xml_node_get_doc, 0, 0},
   {"type", seed_xml_node_get_type, 0, 0},
-  {"properties", seed_xml_node_get_properties, 0, 0},
   {0, 0, 0, 0}
 };
 
@@ -287,6 +286,7 @@ seed_static_value node_values[] = {
   {"last", seed_xml_node_get_last, 0, 0},
   {"doc", seed_xml_node_get_doc, 0, 0},
   {"type", seed_xml_node_get_type, 0, 0},
+  {"properties", seed_xml_node_get_properties, 0, 0},
   {0, 0, 0, 0}
 };
 
diff --git a/modules/libxml/sample.xml b/modules/libxml/sample.xml
index 6eb1412..8f3d086 100644
--- a/modules/libxml/sample.xml
+++ b/modules/libxml/sample.xml
@@ -1,9 +1,9 @@
 <?xml version="1.0"?>
-<story>
+<story attribute="test">
   <storyinfo>
     <author>John Fleck</author>
     <datewritten>June 2, 2002</datewritten>
-    <keyword>example keyword</keyword>
+    <keyword example="yes">example keyword</keyword>
   </storyinfo>
   <body>
     <headline>This is the headline</headline>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]