| Syntax 
   #line-number
 
 Purpose
 
 A built-in variable that provides the number of the line in which an SGML error occurred. (This is the line number in the markup file, as seen by the markup processor.) #line-numbercan be accessed only from the header and body ofsgml-errorrules. If an up-translation or context-translation is being done, the line number is based on the lines of output from find,find-start,find-endandexternal-text-entityrules sent to the markup processor. #line-numberalso can be used as a pattern variable for compatibility with past releases, however, this use is deprecated. Unlike programmer-defined pattern variables,#line-numbermust always be heralded with thepatternkeyword, even where heralding is usually optional.
 The is specifiedtest is always true for#line-numberbecause the line number is present in all markup error messages. |