|Atomik Xport SE: Reference > Chapter 10 Working With DTDs||<< >>|
Atomik Xport can automatically separate multiple paragraphs of a body of text into separate <Paragraph> tags as it creates the XML output.
This is particularly useful where a body of text is to be extracted and the paragraphs need to be tagged separately. Automated paragraph tagging relies on the use of the <Paragraph> DTD Element.
Note: This elements is case sensitive so the <Paragraph> tag must be spelled with a capital ‘P’.
If you include the <Paragraph> Element in your DTD, Atomik Xport will recognise the <Paragraph> element and will invoke the multiple paragraph tagging functionality.
The <Paragraph> tag should be used as a child element of any tags you want to be automatically separated into paragraphs (e.g. <Bodytext>). Also, the mapping of the InDesign styles should be made to the parent of the <Paragraph> tag, and not to the <Paragraph> tag itself. Here is an example of this.
<!ELEMENT Headline (#PCDATA)>
In the above example, the mapping of the InDesign style used to style the bodytext would be mapped onto the <Bodytext> tag, and not onto the <Paragraph> tag.
IMPORTANT NOTE: <Paragraph> is a tag that has special properties within Atomik Xport, and which is reserved for only the functionality described above. This tag must not be used for any other purposes.