View Single Post
 
Old 10-13-2016, 10:48 AM
Rromberg10 Rromberg10 is offline Windows 8 Office 2007
Novice
 
Join Date: Mar 2016
Posts: 2
Rromberg10 is on a distinguished road
Default Microsoft Quickparts RTF template

I need some help setting up a template to generate a printout for an application I am using. I know how to add a MERGEFIELD to my document however, the application I am using uses group elements. I.e I can add multiple people within the application using the same XML tags. My problem is I want the first entry to print one place and the second to print somewhere else. Name for example, I may want the 1st Name entered to print on the first page but the 2nd name entered to print on the 2nd page. They both use the XML field name of "Name" so I do not know how to differentiate them when building the MERGEFIELD.

Here is an example of the XML the application uses

<xsd:element minOccurs="0" name="Subject">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="Item">
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="1" name="FullName">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="150">
</xsd:maxLength>
<xsd:minLength value="1">
</xsd:minLength>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
Reply With Quote