XML Record Formatting

XML records are also handled like GRS-1 records with string tags.

Example 9-3. XML Formatting

Let's say we have a record with the tags "author" and "title". This would look something like this in ZAP:

      %%format xml
      author "Author: $data"
      title "<br>Title: $data"
     

Given the same data values as in the MARC example above (see Example 9-2) the output would be:

      Author: Hans Christian Andersen
      Title: The Ugly Ducklin