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

mdaly1-VisitorAuthor
1-Visitor
May 17, 2017

Back again. See the shell of a 38784 doc below.

<doc>

<front numcols="2">

<idinfo>

<tmidno></tmidno>

<doctype></doctype>

<prtitle></prtitle>

<distrib type="other"></distrib>

<authnot></authnot>

<pubdate></pubdate>

</idinfo>

</front>

<body numcols="2">

<chapter>

<title></title>

<para0>

<title></title>

</para0>

</chapter>

<chapter>

<title></title>

</chapter>

<chapter>

<title></title>

<para0>

<title></title>

</para0>

</chapter>

<chapter>

<title></title>

<para0>

<title></title>

</para0>

</chapter>

</body>

<rear numcols="1"></rear>

</doc>

So If I want to create a standalone chapter chunk file, how do I assign a DTD to the chunk? If I assign the 38784 DTD to the newly created chunk file, It must contain all the elements that wrap around the chapter element. That would never parse in the overall document. Can you follow what I am trying to say?

Mike