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 (optional, boolean)
- 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 (optional, boolean)
- Parameters:
- tag (required)
- handler (required)
- Partial Call Graph (max 5 caller/called nodes):
- 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