Create templates from existing XML or PDF documents by adding custom data or fields
to the documents.
시작하기 전에
Role required: none
이 태스크 정보
The XmlTemplate component also provides methods to work with the templates. To expose the methods, see View the XmlTemplate methods.
프로시저
-
In the Toolbox pane, navigate to .
-
Drag the XmlTemplate component under Global Objects in the Project
Explorer.
-
Click to expand the Global Objects node.
-
Right-click XmlTemplate.
-
Click Configure.
-
Under the TEMPLATES section, click the add templates
icon (
).
-
Click the template added.
A new template is by default named in the
Template<number> format. You can rename it
from the Name field in the PROPERTIES section on the XML TEMPLATE DESIGNER
window.
-
To select an existing PDF or XML document, in the XML/PDF
File field, click the Load XML or PDF File icon (
).
-
Select the XML or PDF file from the local drive.
The preview displays the document data under corresponding XML tags.
-
To add a field to the file, right-click the required XML tag.
-
Click one of the following field options.
You’ve successfully updated the template by adding fields.
- 옵션:
In the Name field of the PROPERTIES section, provide a custom name to the
template you added.
- 옵션:
Repeat the steps to add more fields.
-
Close the XML TEMPLATE DESIGNER window.