Publish the output and specify which attribute is to be
used for the custom attribute.
Click Document Specification > Generate > Configure and Generate Document.
Click Next.
For the data source, enter the path to the testVarInQueriesGenericXML.xml data
file that you downloaded in Lesson 2.
To configure the variable, select Manual configuration and
enter an attribute that has a _value from the data
source schema. For the data provided in this tutorial, you can enter Planned
for, Archived, or Approved by.
For the first time publishing, enter: Planned for
Configure the output types and click Next.
Configure the style sheets for each output type and click Next.
Review the summary and click Finish to
generate the document.
In the Results window, click a link to an output document.
Results:
Note: You cannot edit with the Schema
discovery wizard, export, or replace data source schemas that contain
custom attributes
You can publish the output and specify the Approved
by or Archived attributes when
you configure the variable.
When
you close Document Studio, you are prompted to save the document specification.
Save the document specification to your computer. Example: C:\tutorial_resources\tutorialSpecialAttributes.dsx
Lesson checkpoint
You learned how to publish the output and specify which
attribute is to be used for the custom attribute.