We are using Arbortext Editor 6.0 M080. We are using the _newline tag to create the new line inside the step. When it get publish to PDF and we are absolutely no publishing error in this. But, when we use the same _newline tag inside the hazardstatement tag we are receving the publishing error (NULL message). Could you please anyone help me if we should not use the _newline tag inside hazardstatement tag, then which tag need to be used to split the line.
Thank you in advance,
See if your doctype has a real element that forces a page break. Some DTDs have the brk element for doing this type of thing. Using a real element instead of a processing instruction is always preferable.
The Insert Markup panel (Insert-> Markup) shows all elements available for insertion where the caret is located. If brk is available, it will show alphabetically in the list.
Our style sheet does not have not have brk listed. Why is this better than a processing instruction? Is this available from the ootb or do you need to have it added?
It is not clear to me if you are wanting to use _newline in authored text or if it being used as generated text from the stylesheet.
_newline is offered on Editor menus as a "last resort" sort of thing. It can be used when absolutely necessary. However, it is always preferable to force the break using a real element, if one is available. If the break is being forced in generated text, one should create a user-defined element that forces a linebreak around the text it wraps without using _newline.
A stylesheet cannot make any modifications to the DTD so that elements suddenly appear in the Insert Markup panel. This is totally controlled by the DTD itself. The stylesheet can force linebreaks on various elements as coded in the stylesheet. This can be put on real elements defined in the DTD or it can be on user-defined elements created just for such a thing.