<RequestId>
- <AgencyId>[% requestagency %]</AgencyId>
- <RequestIdentifierValue>[% requestid %]</RequestIdentifierValue>
+ <AgencyId>[% requestagency | xml %]</AgencyId>
+ <RequestIdentifierValue>[% requestid | xml %]</RequestIdentifierValue>
</RequestId>
<ItemId>
<ItemIdentifierType>Item Barcode</ItemIdentifierType>
- <ItemIdentifierValue>[% newbarcode %]</ItemIdentifierValue>
+ <ItemIdentifierValue>[% newbarcode | xml%]</ItemIdentifierValue>
</ItemId>
<UserId>
-<UserIdentifierValue>[% user.userdata.cardnumber %]</UserIdentifierValue>
+<UserIdentifierValue>[% user.userdata.cardnumber | xml %]</UserIdentifierValue>
</UserId>
[%# <UserFiscalAccount></UserFiscalAccount>
LoanedItemsCount
<UserAddressRoleType>Primary Address</UserAddressRoleType>
<PhysicalAddress>
<StructuredAddress>
- <Line1>[% user.userdata.streetnumber %] [% user.userdata.address %]</Line1>
+ <Line1>[% user.userdata.streetnumber | xml %] [% user.userdata.address | xml %]</Line1>
[% IF user.userdata.address2 %]
- <Line2>[% user.userdata.address2 %]</Line2>
+ <Line2>[% user.userdata.address2 | xml %]</Line2>
[% END %]
[% IF user.userdata.city %]
- <Locality>[% user.userdata.city %]</Locality>
+ <Locality>[% user.userdata.city | xml %]</Locality>
[% END %]
[% IF user.userdata.state %]
- <Region>[% user.userdata.state %]</Region>
+ <Region>[% user.userdata.state | xml %]</Region>
[% END %]
[% IF user.userdata.zipcode %]
- <PostalCode>[% user.userdata.zipcode %]</PostalCode>
+ <PostalCode>[% user.userdata.zipcode | xml %]</PostalCode>
[% END %]
[% IF user.userdata.country %]
- <Country>[% user.userdata.country %]</Country>
+ <Country>[% user.userdata.country | xml %]</Country>
[% END %]
</StructuredAddress>
</PhysicalAddress>
<NameInformation>
<PersonalNameInformation>
<StructuredPersonalUserName>
- <GivenName>[% user.userdata.firstname %]</GivenName>
- <Surname>[% user.userdata.surname %]</Surname>
+ <GivenName>[% user.userdata.firstname | xml %]</GivenName>
+ <Surname>[% user.userdata.surname | xml %]</Surname>
</StructuredPersonalUserName>
</PersonalNameInformation>
</NameInformation>
[% END %]
[% END %]
<ProcessingErrorElement>
- <ElementName>[% processingerrorelement %]</ElementName>
- <ProcessingErrorValue>[% barcode %]</ProcessingErrorValue>
+ <ElementName>[% processingerrorelement | xml %]</ElementName>
+ <ProcessingErrorValue>[% barcode | xml %]</ProcessingErrorValue>
</ProcessingErrorElement>
</ProcessingError>
- <ProblemDetail>[% error_detail %]</ProblemDetail>
+ <ProblemDetail>[% error_detail | xml %]</ProblemDetail>
</Problem>
</[% messagetype %]>
</NCIPMessage>