Apple Cinema Tools 4 User Manual
Page 191

For example, if you want this style sheet to output ink numbers and not key numbers,
you would make the following changes:
• In the heading section: Modify the following three lines:
• Change
<xsl:text>Key Prefix</xsl:text>&tab;
to
<xsl:text>Ink
Prefix</xsl:text>&tab;
• Change
<xsl:text>First Key</xsl:text>&tab;
to
<xsl:text>First
Ink</xsl:text>&tab;
• Change
<xsl:text>Last Key</xsl:text>&tab;
to
<xsl:text>Last
Ink</xsl:text>&tab;
If other names better suit your workflow, you can enter whatever text you like into the
data part of these lines. Additionally, if you want to leave the original lines as they are
and just add new lines for the ink numbers, you can do that, but keep in mind that this
will make the output wider, which could make the output file difficult to print if that’s
your final goal.
Another option is to change the key number–based lines into comments by preceding
each line with
<!--
and following each with
-->
. For example,
<!--<xsl:text>Key
Prefix</xsl:text>&tab;-->
is treated as a comment and is ignored when the file is
used to process the XML film list.
• In the item selection section: Modify the following three lines:
• Change
<xsl:value-of select="keyprefix"/>&tab;
to
<xsl:value-of
select="inkprefix"/>&tab;
• Change
<xsl:value-of select="keynumstart"/>&tab;
to
<xsl:value-of
select="inknumstart"/>&tab;
• Change
<xsl:value-of select="keynumend"/>&tab;
to
<xsl:value-of
select="inknumend"/>&tab;
If you added or removed lines in the heading section, you must add or remove lines
in this section as well. The values you use here, such as
inkprefix
, must exactly match
the way they appear in the film list XML file. The order of the items is important as well,
because that order determines how the items match the heading names.
After you have modified the Pull List XSL file, you can try it out and verify that you get
the correct output.
191
Chapter 10
Generating Film Lists and Change Lists