tag_content
tag_content (tagname[, doc])
This function returns the declared content of the tag specified by tagname. The returned value is one of the following strings:
"CDATA"
"RCDATA"
"EMPTY"
"MIXED"
"ANY"
"ELEMENT"
|
If you have applied an alias map to the document, tagname can be either an alias or a real name.
|
The doc argument specifies the identifier of the document tree. If doc is omitted or 0, the current document is used.
If the tag is a Arbortext Editor defined tag (such as _font), the function returns “UNDEFINED”. If the tag is not declared in the DTD and is not a Arbortext Editor defined tag, the function returns an empty string.
|
If the document type definition for your document instance includes the NAMECASE GENERAL NO setting, then the tagname parameter will be case sensitive.
|
Related Topics