summaryrefslogtreecommitdiffstats
path: root/docs/reference
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-12-08 10:00:35 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-12-08 10:00:35 +0000
commit03545f18382e16d46a0e1fdb3a3f5138229c0b2f (patch)
treeb1a60a18601bafff8e5025d651280b1f7d4051b9 /docs/reference
parent7ece831c1ab98d5b1de28dd90befa72ecb6ac7b0 (diff)
downloadlasso-03545f18382e16d46a0e1fdb3a3f5138229c0b2f.tar.gz
lasso-03545f18382e16d46a0e1fdb3a3f5138229c0b2f.tar.xz
lasso-03545f18382e16d46a0e1fdb3a3f5138229c0b2f.zip
new snippet type, SNIPPET_NODE_IN_CHILD, and documented all of the types.
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/snippet-types.rst62
1 files changed, 62 insertions, 0 deletions
diff --git a/docs/reference/snippet-types.rst b/docs/reference/snippet-types.rst
new file mode 100644
index 00000000..58adc7c9
--- /dev/null
+++ b/docs/reference/snippet-types.rst
@@ -0,0 +1,62 @@
+Snippet Types
+=============
+
+{ name, type, value }; assumes Name as name and Value as value in examples.
+
+SNIPPET_NODE
+
+ <Parent>
+ <Value/>
+ </Parent>
+
+
+SNIPPET_CONTENT
+
+ <Parent>
+ <Name>Value</Name>
+ </Parent>
+
+
+SNIPPET_TEXT_CHILD
+
+ <Parent>
+ Value
+ </Parent>
+
+
+SNIPPET_NAME_IDENTIFIER
+
+ (same result as SNIPPET_NODE)
+
+
+SNIPPET_ATTRIBUTE
+
+ <Parent Name="Value"/>
+
+
+SNIPPET_NODE_IN_CHILD
+
+ <Parent>
+ <Name>
+ <Value/>
+ </Name>
+ </Parent>
+
+
+SNIPPET_LIST_NODES
+
+ <Parent>
+ <Value-1/>
+ <Value-2/>
+ <Value-n/>
+ </Parent>
+
+
+SNIPPET_LIST_CONTENT
+
+ <Parent>
+ <Name>Value-1</Name>
+ <Name>Value-2</Name>
+ <Name>Value-n</Name>
+ </Parent>
+