About Arbortext Styler > Styling DITA Documents > Working with the Resolved Document for Styling
Working with the Resolved Document for Styling
To assist you with styling DITA maps, Arbortext Editor enables you to generate an assembled version of your topic or map. This is called the Resolved Document for Styling (RDS). The RDS contains all of the content referenced in the source document, so you can use it to style your DITA deliverable documents.
A new format of the RDS was introduced in the 6.1 M030 release. To revert to the old format, set the value of the set ditausenewrds command to off. See set ditausenewrds in the Arbortext Command Language Reference for more information.
You generate the RDS with the Arbortext Editor menu choice Edit > Edit Resolved Document > For Styling. When you select this menu choice, Arbortext Editor assembles all of the content in your topic or map into a resolved document and opens that resolved document in a new Arbortext Editor window. The version of the RDS displayed is ungeneralized, but any unstyled elements will be generalized to a styled base element, if possible, before it is processed by the Arbortext Styler stylesheet (.style file). For this fallback generalization to take place an Arbortext Styler stylesheet must be used.
In much the same way that you can publish just a portion of a DITA map, you can create an RDS from a subset of a map by selecting just the topic references that you wish to have included before you generate the RDS.
By default, Arbortext Styler only displays the RDS elements in the topic or the topics referenced in your DITA map. If you are using fallback generalization, the base element that you are using to provide the styling for an unstyled, specialized element may not be available in the Arbortext StylerElements list. In this case, uncheck the View > Only Elements in Document menu option in Arbortext Styler to pull the base element into the Elements list.
By default, the RDS is read-only and cannot be saved. Because of this, the Arbortext Editor window containing the RDS has a limited feature set. While developing your stylesheet, you might find it useful to save and edit the RDS to test the styling of element and attribute combinations that are not present in the DITA map and topics from which you produced the RDS. If you want to edit or save the RDS, select the File > Enable Editing menu choice and the full Arbortext Editor feature set is enabled. Once you have access to the full Arbortext Editor feature set, you can edit the document and use the File > Save As menu choice to save it. Any changes you make to the RDS are not saved in the source documents from which the RDS was produced.
Context rules are always off for the RDS. You must make any structural changes to the resolved document with care to avoid making it an invalid document.