Comments
Traditional XML comments using
<!--
and -->
can
be used in a DPML program.
However, we recommend using the
comment
element instead.
The comment element can be placed in most locations within
an
DPML program
fragment and will support nesting,
XHTML
formatted annotations,
and has the benefit of being processed like regular XML.
<idoc>
<comment>This DPML program demonstrates use of comments</comment>
<seq>
<comment>
This is the
<b>first</b> sequence
</comment>
<instr>
<comment>
This is an
<a href="http://www.w3.org/">XSLT</a> instruction
</comment>
<type>xslt</type>
<operand>file:/myOperand.xml</operand>
<operator>file:/myStylesheet.xsl</operator>
<target>this:response</target>
</instr>
</seq>
</idoc>