Skip to main content
1-Visitor
May 17, 2017
Solved

38784 DTD - Multiple Authors

  • May 17, 2017
  • 1 reply
  • 5582 views

I have a 38784 DTD. The major content section of this DTD is the chapter element. How can I have writers working on different chapters at the same time?

Surely there must be a way to chunk it up into different files, be able to parse them individually, and somehow pull them altogether at publication time. I am just not getting it.

Mike

Best answer by JeffStevenson

Hi Mike,

You can split XML files into smaller chunks based on a specific tag and then reference the chunks within the <chapter> file.

Are you using a content management tool like Windchill? If so, you can set your bursting rules to split the file based on criteria like a specific tag. Windchill would maintain the relationship between the sub files for you. Multiple authors could check-out the portion they are editing without disrupting the flow of other others.

If you are working from a file system, then you would need too split the files in to chunks manually and reference them into the <chapter>. However, I would recommend a CMS to track where files are used.

Despite the approach, when you open the <chapter> file, you would see the <chapter> in its entirety. The same goes for pub time. Arbortext would assemble the pieces for publishing.

Hope that helps!

-Jeff

1 reply

1-Visitor
May 17, 2017

Hi Mike,

You can split XML files into smaller chunks based on a specific tag and then reference the chunks within the <chapter> file.

Are you using a content management tool like Windchill? If so, you can set your bursting rules to split the file based on criteria like a specific tag. Windchill would maintain the relationship between the sub files for you. Multiple authors could check-out the portion they are editing without disrupting the flow of other others.

If you are working from a file system, then you would need too split the files in to chunks manually and reference them into the <chapter>. However, I would recommend a CMS to track where files are used.

Despite the approach, when you open the <chapter> file, you would see the <chapter> in its entirety. The same goes for pub time. Arbortext would assemble the pieces for publishing.

Hope that helps!

-Jeff

mdaly1-VisitorAuthor
1-Visitor
May 17, 2017

Jeff - That makes sense. I should have figured that out. So one cannot parse the chunked files standalone, they are parsed when pulled into the master file? I think I got it.

Thanks a lot.

Mike

1-Visitor
May 18, 2017

Are you doing this with Entities or simply by pasting/inserting into the document. If you use the entity functionality in the master document, then Arbortext loads the individual chapters each time. so if authors are updating chapters, each time you open the master book you are seeing the latest chapters.

So if you did it using entities, then the master document would look like:

<?xml version="1.0" encoding="UTF-8"?>

<!--Arbortext, Inc., 1988-2016, v.4002-->

<!DOCTYPE svcman SYSTEM "file://///brksvw387/styles/doctypes/VehicleServiceWkpkg/VehicleServiceWkpkg.dtd" [

<!ENTITY section3 SYSTEM "C:\Operating DTDs-engine-truck\PTCcommunity_test\section3.xml">

<!ENTITY Section2 SYSTEM "C:\Operating DTDs-engine-truck\PTCcommunity_test\section2.xml">

<!ENTITY section1 SYSTEM "C:\Operating DTDs-engine-truck\PTCcommunity_test\section1.xml">

]>

<?Pub Inc?>

<svcman>

<title>The test Document</title>

<highlight></highlight>

<safety></safety>

&section1;

&Section2;

&section3;

</svcman><?Pub Caret -1?>