[gxml] Attr.vala: add an XML example



commit b8b6f5a5ad79ab759031a2d6ac4449f396ea847b
Author: Richard Schwarting <aquarichy gmail com>
Date:   Sun Sep 29 01:54:34 2013 -0400

    Attr.vala: add an XML example

 gxml/Attr.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gxml/Attr.vala b/gxml/Attr.vala
index 466cd38..207acf4 100644
--- a/gxml/Attr.vala
+++ b/gxml/Attr.vala
@@ -46,6 +46,9 @@ namespace GXml {
         * { link GXml.Element}s. Values are often represented as strings but can
         * also be more complex subtrees for some nodes.
         *
+        * XML Example: {{{<pie flavour="pumpkin" />}}} Here, we have
+        * an Attr with the name 'flavour' and the value 'pumpkin'.
+        *
         * Version: DOM Level 1 Core
         * URL: [[http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-637646024]]
         */


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