[SINCE: 2010-06-28] SupportThe Orbeon Forms pipeline engine supports XML comments. This means:
The URL Generator processor has an option to disable comments handling when parsing XML documents. Producing comments from XSLTYou generate comments with the <xsl:comment> instruction:
Simply putting an XML comment in an XSLT transformation does not cause comments to be produced in the output. The following won't work:
You can for example output comments from an XSLT theme. You access comments present in an input document with the comment() XPath function:
Comments in XForms[SINCE: 2010-06-28] Comments in XForms instancesComments in XForms instances are preserved, whether instances are:
Comments in XForms instances are serialized through submissions that produce XML. Example of comments within an inline instance:
NOTE: Comments appearing before or after the document element (root element) of an inline instance, but within <xforms:instance>, are ignored.Comments in instances can be accessed with the comment() XPath function:
Comments in other locationsXML comments are that are not contained within inline XForms instances are pruned by the XForms engine and are not present in the resulting HTML output. |