2004-12-08 11:00:35 +01:00
|
|
|
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
|
|
|
|
|
2006-12-16 10:47:16 +01:00
|
|
|
(same result as SNIPPET_NODE (with Value forced as a LassoSamlNameIdentifier))
|
2004-12-08 11:00:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
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>
|
|
|
|
|
2005-01-25 20:59:17 +01:00
|
|
|
[note: if there are no other nodes; it is possible to leave snippet name as
|
|
|
|
the empty string; nodes will then be constructed looking at their names and
|
|
|
|
namespaces (this is useful for xs:any)]
|
|
|
|
|
2004-12-08 11:00:35 +01:00
|
|
|
|
|
|
|
SNIPPET_LIST_CONTENT
|
|
|
|
|
|
|
|
<Parent>
|
|
|
|
<Name>Value-1</Name>
|
|
|
|
<Name>Value-2</Name>
|
|
|
|
<Name>Value-n</Name>
|
|
|
|
</Parent>
|
|
|
|
|
2006-12-16 10:47:16 +01:00
|
|
|
[note: Name will be in the same namespace as Parent by default but it is
|
|
|
|
possible to set 4th and 5th members of snippet to get a different namespace
|
|
|
|
(name, uri).]
|
|
|
|
|
2007-06-07 02:16:35 +02:00
|
|
|
|
2005-01-19 11:10:56 +01:00
|
|
|
SNIPPET_LIST_XMLNODES
|
|
|
|
|
|
|
|
<Parent>
|
|
|
|
<Value-1/>
|
|
|
|
<Value-2/>
|
|
|
|
<Value-3/>
|
|
|
|
</Parent>
|
|
|
|
|
2007-06-07 02:16:35 +02:00
|
|
|
[note: if there are no other nodes; it is possible to leave snippet name as
|
|
|
|
the empty string; nodes will then be constructed looking at their names and
|
|
|
|
namespaces (this is useful for xs:any)]
|
|
|
|
|
|
|
|
|
2006-11-13 13:07:11 +01:00
|
|
|
SNIPPET_XMLNODE
|
|
|
|
|
|
|
|
<Parent>
|
|
|
|
<Value/>
|
|
|
|
</Parent>
|
|
|
|
|
2005-01-19 11:10:56 +01:00
|
|
|
|
2004-12-16 13:32:47 +01:00
|
|
|
SNIPPET_EXTENSION
|
|
|
|
|
|
|
|
(for <xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>)
|
|
|
|
|
2004-12-19 16:24:19 +01:00
|
|
|
SNIPPET_SIGNATURE
|
|
|
|
|
|
|
|
(for XMLDSig)
|
|
|
|
|