### 24.1 Generating DITA XML output from DITA input

Why would you want to do such a thing? Perhaps to reorganize elements, move to a different DTD, adapt content or restructure for a different purpose?

To transform or repurpose DITA XML with DITA2Go requires two steps:

1. Map DITA input elements to formats.
2. Map those formats to DITA output elements.

You can name the formats directly after elements, either input or output elements, if that makes sense for your conversion. Conserving elements that do not require reworking is very simple: map unaffected elements to formats of the same name. However, you also have the flexibility to do much more when a clear element-to-element mapping will not suffice.

The only other way to rework DITA XML is to use XSLT, which for anything non-trivial requires serious programming skills.

Previous Topic: 24. Converting to DITA XML

Next Topic: 24.2 Setting up a DITA XML project

Parent Topic: 24. Converting to DITA XML

Sibling Topics:

24.2 Setting up a DITA XML project

24.3 Specifying general options for DITA

24.4 Configuring DITA elements

24.5 Nesting DITA block elements

24.6 Specifying options for tables in DITA XML

24.7 Specifying options for images in DITA XML

24.8 Configuring DITA topics

24.9 Configuring cross references and links for DITA

24.10 Overriding DITA settings with markers