Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I'm having three issues with Arbortext that I'm trying to solve. It changes my XML which is unacceptable. My XML is also used by an IETM, and must be compatible with that IETM.
1. For some reason Arbortext adds the following around the DOCTYPE when I save my XML:
<!-- Fragment document type declaration subset:
-->
How do I stop this from happening? It causes errors in the IETM when it views the XML.
2. It changes my graphic's file path from "..\Graphics\O00002-4.png" to "O:\documents\TMS\Product 1\Graphics\O00002-4.png".
3. My graphic is named O00002-1, but Arbortext changes it to <graphic boardno="O00002-11"></graphic>. It does that for O00002-2, renaming it in the XML to O00002-21. O00002-3 and O00002-4 are unchanged.
Is there a way to stop Arbortext from altering my XML? At this point I'd almost rather write it in notepad and make a copy for Arbortext to publish.
Oh, that's interesting. Yes, there are a bunch of settings for controlling with Arbortext does with your XML. Essentially what happens is that Arbortext will parse your XML document into its own internal format and memory structures then, when you save, serialize that internal document back to XML
There is an Arbortext Help Center that documents most of the available options, e.g., "set writeaticomment": https://support.ptc.com/help/arbortext/r8.2.0.0/en/
Have a look at other options under Programming -> Arbortext Command Language -> set Command Options.
You could also try PTC support but your document format appears to be a milspec or perhaps S1000D? If so, that's a custom format that PTC will not be able to fully support. Here at GPSL, we have a team of S1000D and milsepc specialists that may be able to assist (www.gpsl.co).
Thank you for your response, but I wasn't able to find any of the options that corresponded to my issues.
In that case the root cause for your issues probably lies within the customisation package you are using. You will need to go back to the person that supplied the customisation package or engage a suitably skilled specialist to investigate.
What is a customization package? Is that the DTD file? I got it from the US Army, so they aren't gonna do anything about it.
Customisation package is the DTD and associated files that provide the document type configuration package that allows you to work on the US Army documentation files.