Removing Entity after pulling in the text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
Solved! Go to Solution.
- Labels:
-
Content Authoring
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Ignore the d in undeclared. I couldn't get copy and paste to work. I mistyped above.
