Arbortext Command Language > Functions by Alphabetical Listing > spellskip_tag
  
spellskip_tag
spellskip_tag (tagname[, doc])
This function returns a 1 (true) if the element name tagname is listed in the current document type's .dcf file as an element whose content should be skipped when doing a spelling check.
The tagname parameter can be either a real element name as defined in the document type definition (DTD) or a tag alias configured by a user.
The optional doc parameter specifies the document identifier for the desired document instance and defaults to the return value for current_doc if omitted.
If the specified tagname is either an element whose contents should be spell checked, or an element that does not exist in the DTD, the function returns a 0 (false).
Examples
#Test computeroutput tag for spellcheck tag skipping.
#
$ret=spellskip_tag("computeroutput")
#Do something if the tagname in $elementname is
#set to be skipped.
if (spellskip_tag($elementname)) {
...
)
Related Topics
set spellskiptags command
Configuring elements to be ignored during a spelling check