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

Removing Entity after pulling in the text

SOLVED
Highlighted
Regular Member

Removing Entity after pulling in the text

When using Arbortext 6.0, can you remove the entity files from the XML file after pulling in the text from the entity?  Basically using entities to share content and upon publishing remove all entities and keep the content.  Which basically flat files the xml file.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Removing Entity after pulling in the text

Yes, Arbortext is able to flatten files in this way but it's not available through the menus. You would have to write a small script to do the work. Look up the doc_flatten function in the Arbortext Help Center.

View solution in original post

4 REPLIES 4

Re: Removing Entity after pulling in the text

Yes, Arbortext is able to flatten files in this way but it's not available through the menus. You would have to write a small script to do the work. Look up the doc_flatten function in the Arbortext Help Center.

View solution in original post

Re: Removing Entity after pulling in the text

Thanks

Re: Removing Entity after pulling in the text

Here is my script

set Arbortext="same as below"

for %%i in (*.xml) do (

"C:\Program Files (X86) \PTCArbortext Editor\bin\x86\editor.exe" -c -b "doc_flatten all undeclared" %%i

)

 

I cant get the changes to save to each file.

Re: Removing Entity after pulling in the text

Ignore the d in undeclared.  I couldn't get copy and paste to work.  I mistyped above.

Announcements