doc_register_adptag (public)

 doc_register_adptag [ -literal ] [ -balanced ] tag handler

Defined in packages/acs-tcl/tcl/adp-parser-procs.tcl

Registers a handler for an ADP tag.

Switches:
-literal
(boolean) (optional)
should the handler for a balanced tag accept as its second argument the contents of the block (literally) rather than code to execute? Useful when the contents may contain registered tags which we do not want to be interpreted (e.g., declaring templates with <template>.
-balanced
(boolean) (optional)
Parameters:
tag
handler

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
    nsv_set doc_adptags $tag [list balanced_p $balanced_p literal_p $literal_p handler $handler]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: