cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Deactivate Auto Insert of Arbortext Comment?

ptc-953960
1-Newbie

Deactivate Auto Insert of Arbortext Comment?

If I open an XML file and make an edit in Arbortext Editor (5.3),
Arbortext inserts a comment tag before the root element.

Example (before):


<whydid>
<para>This is before.</para>
</whydid>

After opening the above XML in Editor and then changing the para text,
one has:



<whydid><para>This is after.</para></whydid>

I'd like to deactivate the insertion of the comment. Can this be done?

--



Oracle Email Signature Logo
John Laurence Poole | Principal Software Engineer | 650.607.0853
OracleUser Assistance Engineering
M/S 3op320
500 Oracle Parkway
Redwood Shores CA 94065-1677

Oracle Instant Chat: john.poole

The statements and opinions expressed here are my own and do
not necessarily represent those of Oracle Corporation.

3 REPLIES 3

I believe that is handled by the writeaticomment option. By default it's on. ACL or under Preferences > Advanced will allow you to change this.


Trevor Hendricks
Project Analyst -- Publication Systems
Technical Publications, MS: 078

Thank you very much, you have identified precisely what I was looking
for. Furthermore, scripting this is:

set writeaticomment= off

John,

I don't believe so. Epic puts that line in so it knows the file has been at least touched with the Epic parser at some point.

What you will find is that most XML editors will insert some similar line into an XML file that has been modified by their application.

I personally don't like having ANY application make changes to my document that I have not invoked (e.g., adding an ENTITY reference in the DOCTYPE subset is valid if I added the ENTITY in the file).

Some content management systems will strip that information out prior to storing a file.

But unfortunately, that is one of those things we have to live with.


Lynn

---- "John L. Poole" <john.poole@oracle.com> wrote:
> If I open an XML file and make an edit in Arbortext Editor (5.3),
> Arbortext inserts a comment tag before the root element.
>
> Example (before):
>
>
> <whydid>
> <para>This is before.</para>
> </whydid>
>
> After opening the above XML in Editor and then changing the para text,
> one has:
>
>
>
> <whydid><para>This is after.</para></whydid>
>
> I'd like to deactivate the insertion of the comment. Can this be done?
>
> --
>
>
>
> Oracle Email Signature Logo
> John Laurence Poole | Principal Software Engineer | 650.607.0853
> OracleUser Assistance Engineering
> M/S 3op320
> 500 Oracle Parkway
> Redwood Shores CA 94065-1677
>
> Oracle Instant Chat: john.poole
>
> The statements and opinions expressed here are my own and do
> not necessarily represent those of Oracle Corporation.
>
>
Top Tags