Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space PLA and version 9.0
Sv translation
languageen

If you are setting up for MIS data retrieval, specific XSLT fields are required for different layout types such as step-and-repeat and die-based layouts. 

Note: All units are provided in points by default. You can set the units of ShopMap resources directly in the schema to inches (in.), millimeters (mm), or centimeters (cm). The units of other parameters must be manually converted by adding math operations to the XSLT file. For example, add *72 to convert from inches to points. 

You can use Stylus Studio software to create XLST files. Find the procedure here.

Required XSLT fields for unpopulated step-and-repeat jobs

An unpopulated step-and-repeat job must include the following fields:

  • Job/jobName
  • Job/jobType: can be hard-coded to the name of the layout ticket in the PLA software
  • Job/layoutName: can be hard-coded to Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name: hard-code to SR1
  • Job/StepRepeatList/StepRepeat/id: hard-code to 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/ StepRepeatArtwork/scaleX: hard-code to 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY: hard-code to 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyWidth
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyHeight

Sample XML and XSLT files: unpopulated step and repeat

Start with an XML file such as the following:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
     <Info JobName="MIS-0001"/>
     <Prepress ArtworkWidth="19.125"
ArtworkHeight="15.5"/>
     <Stripping Around="1" Across="3"/>
     <Plate Width="57.375" Height="15.5"/>
</Job>

Create an XSLT file using XSLT editing software such as Stylus Studio:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
  <xsl:templatematch="/">
    <JobjobType="Demo"layoutName="Layout">
      <xsl:attributename="jobName">
        <xsl:value-ofselect="Job/Info/
@JobName"/>
      </xsl:attribute>
      <StepRepeatList>
        <StepRepeatname="SR1"id="1">
          <xsl:attributename="cols">
            <xsl:value-ofselect="Job/
Stripping/@Across"/>
          </xsl:attribute>
          <xsl:attributename="rows">
            <xsl:value-ofselect="Job/
Stripping/@Around"/>
          </xsl:attribute>
          <StepRepeatArtworkList>
            <StepRepeatArtwork scaleX="1"
scaleY="1">

<xsl:attributename="dummyHeight">
                <xsl:value-ofselect="Job/
Prepress/@ArtworkHeight *72"/>
              </xsl:attribute>

<xsl:attributename="dummyWidth">
                <xsl:value-ofselect="Job/
Prepress/@ArtworkWidth*72"/>
              </xsl:attribute>
            </StepRepeatArtwork>
          </StepRepeatArtworkList>
        </StepRepeat>
     </StepRepeatList>
     <Shopmap>
       <PressSheetunit="in">
         <xsl:attributename="height">
           <xsl:value-ofselect="Job/Plate/
@Height"/>
         </xsl:attribute>
         <xsl:attributename="width">
           <xsl:value-ofselect="Job/Plate/
@Width"/>
         </xsl:attribute>
        </PressSheet>
      </Shopmap>
   </Job>
       </xsl:template>
 </xsl:stylesheet>

Required XSLT fields for populated step-and-repeat jobs

A populated step-and-repeat job must include the following fields:

  • Job/jobName
  • Job/jobType: can be hard-coded to the name of the layout ticket in the PLA software
  • Job/layoutName: can be hard-coded to Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name: hard-code to SR1
  • Job/StepRepeatList/StepRepeat/id: hard-code to 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/ownerID: hard-code to 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleX: hard-code to 1

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY: hard-code to 1

  • Job/ArtworkList/Artwork/Name

  • Job/ArtworkList/Artwork/id: hard-code to 2

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/referenceId: hard-code to 2

Sample XML and XSLT files: populated step and repeat jobs

Start with an XML file such as the following:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
     <Info JobName="MIS-0002"/>
     <Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

  Resources\Hungry Cat Label\Hungry Cat
Label 1.pdf"/>
     <Stripping Around="1" Across="3"/>
     <Plate Width="57.375" Height="15.5"/>
</Job>

Create an XSLT file using XSLT editing software such as Stylus Studio:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
  <xsl:templatematch="/">
    <JobjobType="Demo"layoutName="Layout">
      <xsl:attributename="jobName">
        <xsl:value-ofselect="Job/Info/
@JobName"/>
      </xsl:attribute>
            <ArtworkList>
        <Artworkid="2">
          <Name>
            <xsl:value-ofselect="Job/
Prepress/@Artwork"/>
          </Name>
        </Artwork>
      </ArtworkList>
      <StepRepeatList>
        <StepRepeatid="1"name="SR1">
          <xsl:attributename="cols">
            <xsl:value-ofselect="Job/
Stripping/@Across"/>
          </xsl:attribute>
          <xsl:attributename="rows">
            <xsl:value-ofselect="Job/
Stripping/@Around"/>
          </xsl:attribute>
          <StepRepeatArtworkList>

<StepRepeatArtworkownerId="1"referenceId="2"
scaleX="1"
            scaleY="1"/>
          </StepRepeatArtworkList>
        </StepRepeat>
      </StepRepeatList>
      <Shopmap>
        <PressSheetunit="in">
          <xsl:attributename="height">
            <xsl:value-ofselect="Job/Plate/

@Height"/>
          </xsl:attribute>
          <xsl:attributename="width">
            <xsl:value-ofselect="Job/Plate/
@Width"/>
          </xsl:attribute>
        </PressSheet>
      </Shopmap>
    </Job>
  </xsl:template>
</xsl:stylesheet>

Required XSLT fields for a die-based layout

A die-based layout must include the following fields:

  • Job/jobName
  • Job/jobType: can be hard-coded to the name of the layout ticket in the PLA software
  • Job/layoutName: can be hard-coded to Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/ArtworkList/Artwork/Name

  • Job/Die/Name

Sample XML and XSLT files: die-based layout

Start with an XML file such as the following:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
     <Info JobName="MIS-0003"/>
     <Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

  Resources\Hungry Cat Carton\Hungry Cat
Carton 1.pdf"/>
  <Die DieFile="\\PrinergyServer
\LayoutAutomationSample\Resources\
  Hungry Cat Carton\Hungry Cat Carton.CF2"/>
  <Plate Width="40" Height="30"/>
</Job>

Create an XSLT file using XSLT editing software such as Stylus Studio:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
  <xsl:templatematch="/">
    <JobjobType="Demo"layoutName="Layout">
      <xsl:attributename="jobName">
        <xsl:value-ofselect="Job/Info/
@JobName"/>
      </xsl:attribute>
            <ArtworkList>
        <Artwork>
          <Name>
            <xsl:value-ofselect="Job/
Prepress/@Artwork"/>
          </Name>
        </Artwork>
      </ArtworkList>
      <Die>
        <Name>
          <xsl:value-ofselect="Job/Die/
@DieFile"/>
        </Name>
      </Die>
      <Shopmap>
        <PressSheetunit="in">
          <xsl:attributename="height">
            <xsl:value-ofselect="Job/Plate/
@Height"/>

          </xsl:attribute>
          <xsl:attributename="width">
            <xsl:value-ofselect="Job/Plate/
@Width"/>

          </xsl:attribute>
        </PressSheet>
      </Shopmap>
    </Job>
  </xsl:template>
</xsl:stylesheet>

Sv translation
languagede

Wenn Sie das System zum Abrufen von MIS-Daten einrichten, sind für verschiedene Layout-Typen, z. B. Step-and Repeat- und Matrizen-Layouts, spezielle XSLT-Felder erforderlich.

Hinweis: Alle Einheiten werden standardmäßig in Punkten angegeben. Die Einheiten von ShopMap-Ressourcen können Sie direkt im Schema in Zoll (in), Millimeter (mm) oder Zentimeter (cm) einstellen. Die Einheiten anderer Parameter müssen manuell umgerechnet werden, indem Sie in der XSLT-Datei entsprechende mathematische Operationen einfügen. Für die Umrechnung von Zoll in Punkt fügen Sie zum Beispiel *72 hinzu.

Sie können die Stylus Studio-Software für die Erstellung von XSLT-Dateien verwenden. Das entsprechende Verfahren finden Sie hier.

Erforderliche XSLT-Felder für Step-and-Repeat-Jobs ohne Inhalte

Ein Step-and-Repeat-Job ohne Inhalt muss die folgenden Felder beinhalten:

  • Job/jobName
  • Job/jobType: kann auf den Namen des Layout-Tickets in der PLA-Software hartcodiert werden
  • Job/layoutName: kann hartcodiert werden auf Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name: hartcodiert auf SR1
  • Job/StepRepeatList/StepRepeat/id: hartcodiert auf 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/ StepRepeatArtwork/scaleX: hartcodiert auf 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY: hartcodiert auf 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyWidth
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyHeight

XML- und XSLT-Beispieldateien: Step-and-Repeat ohne Inhalte

Beginnen Sie mit einer XML-Datei wie beispielsweise der folgenden:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0001"/>
<Prepress ArtworkWidth="19.125"
ArtworkHeight="15.5"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/>
</Job>

Erstellen Sie mit Hilfe einer XSLT-Bearbeitungssoftware (wie z. B. Stylus Studio) eine XSLT-Datei:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<StepRepeatList>
<StepRepeatname="SR1"id="1">
<xsl:attributename="cols">
<xsl:value-ofselect="Job/
Stripping/@Across"/>
</xsl:attribute>
<xsl:attributename="rows">
<xsl:value-ofselect="Job/
Stripping/@Around"/>
</xsl:attribute>
<StepRepeatArtworkList>
<StepRepeatArtwork scaleX="1"
scaleY="1">

<xsl:attributename="dummyHeight">
<xsl:value-ofselect="Job/
Prepress/@ArtworkHeight *72"/>
</xsl:attribute>

<xsl:attributename="dummyWidth">
<xsl:value-ofselect="Job/
Prepress/@ArtworkWidth*72"/>
</xsl:attribute>
</StepRepeatArtwork>
</StepRepeatArtworkList>
</StepRepeat>
</StepRepeatList>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/
@Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

Erforderliche XSLT-Felder für Step-and-Repeat-Jobs mit Inhalt

Ein Step-and-Repeat-Job mit Inhalt muss die folgenden Felder beinhalten:

  • Job/jobName
  • Job/jobType: kann auf den Namen des Layout-Tickets in der PLA-Software hartcodiert werden
  • Job/layoutName: kann hartcodiert werden auf Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name: hartcodiert auf SR1
  • Job/StepRepeatList/StepRepeat/id: hartcodiert auf 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/ownerID: : hartcodiert auf 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleX: hartcodiert auf 1

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY: hartcodiert auf 1

  • Job/ArtworkList/Artwork/Name

  • Job/ArtworkList/Artwork/id: hartcodiert auf 2

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/referenceId: hartcodiert auf 2

XML- und XSLT-Beispieldateien: Step-and-Repeat mit Inhalt

Beginnen Sie mit einer XML-Datei wie beispielsweise der folgenden:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0002"/>
<Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

Resources\Hungry Cat Label\Hungry Cat
Label 1.pdf"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/>
</Job>

Erstellen Sie mit Hilfe einer XSLT-Bearbeitungssoftware (wie z. B. Stylus Studio) eine XSLT-Datei:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList>
<Artworkid="2">
<Name>
<xsl:value-ofselect="Job/
Prepress/@Artwork"/>
</Name>
</Artwork>
</ArtworkList>
<StepRepeatList>
<StepRepeatid="1"name="SR1">
<xsl:attributename="cols">
<xsl:value-ofselect="Job/
Stripping/@Across"/>
</xsl:attribute>
<xsl:attributename="rows">
<xsl:value-ofselect="Job/
Stripping/@Around"/>
</xsl:attribute>
<StepRepeatArtworkList>

<StepRepeatArtworkownerId="1"referenceId="2"
scaleX="1"
scaleY="1"/>
</StepRepeatArtworkList>
</StepRepeat>
</StepRepeatList>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/

@Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

Erforderliche XSLT-Felder für Matrizen-Layouts

Ein Matrizen-Layout muss die folgenden Felder umfassen:

  • Job/jobName
  • Job/jobType: kann auf den Namen des Layout-Tickets in der PLA-Software hartcodiert werden
  • Job/layoutName: kann hartcodiert werden auf Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/ArtworkList/Artwork/Name

  • Job/Die/Name

XML- und XSLT-Beispieldateien: Matrizen-Layout

Beginnen Sie mit einer XML-Datei wie beispielsweise der folgenden:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0003"/>
<Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

Resources\Hungry Cat Carton\Hungry Cat
Carton 1.pdf"/>
<Die DieFile="\\PrinergyServer
\LayoutAutomationSample\Resources\
Hungry Cat Carton\Hungry Cat Carton.CF2"/>
<Plate Width="40" Height="30"/>
</Job>

Erstellen Sie mit Hilfe einer XSLT-Bearbeitungssoftware (wie z. B. Stylus Studio) eine XSLT-Datei:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList>
<Artwork>
<Name>
<xsl:value-ofselect="Job/
Prepress/@Artwork"/>
</Name>
</Artwork>
</ArtworkList>
<Die>
<Name>
<xsl:value-ofselect="Job/Die/
@DieFile"/>
</Name>
</Die>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/
@Height"/>

</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>

</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

Sv translation
languagefr

Si vous configurez le système pour la récupération de données MIS, des champs XSLT spécifiques sont requis pour différents types de mises en page, par exemple les mises en page de copie en répétition et les mises en page de découpe.

Remarque : par défaut, toutes les unités sont en points. Vous pouvez définir les unités des ressources ShopMap directement dans le schéma en pouces (po.), millimètres (mm) ou centimètres (cm). Les unités des autres paramètres doivent être converties manuellement par l'ajout d'opérations mathématiques au fichier XSLT. Par exemple, ajoutez *72 pour convertir des pouces en points.

Vous pouvez utiliser le logiciel Stylus Studio pour créer des fichiers XLST. Vous trouverez la procédure ici.

Champs XSLT obligatoires pour travaux de copie en répétition non remplis

Un travail de copie en répétition non rempli doit inclure les champs suivants :

  • Job/jobName
  • Job/jobType : peut être figé dans le code en nom de la fiche de mise en page dans le logiciel PLA.
  • Job/layoutName : peut être figé dans le code en Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name : figé dans le code en SR1
  • Job/StepRepeatList/StepRepeat/id : figé dans le code en 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/ StepRepeatArtwork/scaleX : figé dans le code en 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY : figé dans le code en 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyWidth
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyHeight

Exemple de fichiers XML et XSLT : travail de copie en répétition non rempli

Commencez par un fichier XML, par exemple, le suivant :

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0001"/>
<Prepress ArtworkWidth="19.125"
ArtworkHeight="15.5"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/>
</Job>

Créez un fichier XSLT à l'aide d'un programme d'édition XSLT, tel que Stylus Studio :

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<StepRepeatList>
<StepRepeatname="SR1"id="1">
<xsl:attributename="cols">
<xsl:value-ofselect="Job/
Stripping/@Across"/>
</xsl:attribute>
<xsl:attributename="rows">
<xsl:value-ofselect="Job/
Stripping/@Around"/>
</xsl:attribute>
<StepRepeatArtworkList>
<StepRepeatArtwork scaleX="1"
scaleY="1">

<xsl:attributename="dummyHeight">
<xsl:value-ofselect="Job/
Prepress/@ArtworkHeight *72"/>
</xsl:attribute>

<xsl:attributename="dummyWidth">
<xsl:value-ofselect="Job/
Prepress/@ArtworkWidth*72"/>
</xsl:attribute>
</StepRepeatArtwork>
</StepRepeatArtworkList>
</StepRepeat>
</StepRepeatList>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/
@Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

Champs XSLT obligatoires pour un travail de copie en répétition non rempli

Un travail de copie en répétition rempli doit inclure les champs suivants :

  • Job/jobName
  • Job/jobType : peut être figé dans le code en nom de la fiche de mise en page dans le logiciel PLA.
  • Job/layoutName : peut être figé dans le code en Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name : figé dans le code en SR1
  • Job/StepRepeatList/StepRepeat/id : figé dans le code en 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/ownerID: : figé dans le code en 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleX : figé dans le code en 1

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY : figé dans le code en 1

  • Job/ArtworkList/Artwork/Name

  • Job/ArtworkList/Artwork/id : figé dans le code en 2

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/referenceId : figé dans le code en 2

Exemple de fichiers XML et XSLT : travaux de copie en répétition rempli

Commencez par un fichier XML, par exemple, le suivant :

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0002"/>
<Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

Resources\Hungry Cat Label\Hungry Cat
Label 1.pdf"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/>
</Job>

Créez un fichier XSLT à l'aide d'un programme d'édition XSLT, tel que Stylus Studio :

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList>
<Artworkid="2">
<Name>
<xsl:value-ofselect="Job/
Prepress/@Artwork"/>
</Name>
</Artwork>
</ArtworkList>
<StepRepeatList>
<StepRepeatid="1"name="SR1">
<xsl:attributename="cols">
<xsl:value-ofselect="Job/
Stripping/@Across"/>
</xsl:attribute>
<xsl:attributename="rows">
<xsl:value-ofselect="Job/
Stripping/@Around"/>
</xsl:attribute>
<StepRepeatArtworkList>

<StepRepeatArtworkownerId="1"referenceId="2"
scaleX="1"
scaleY="1"/>
</StepRepeatArtworkList>
</StepRepeat>
</StepRepeatList>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/

@Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

Champs XSLT obligatoires pour une mise en page de découpe

Une mise en page de découpe doit inclure les champs suivants :

  • Job/jobName
  • Job/jobType : peut être figé dans le code en nom de la fiche de mise en page dans le logiciel PLA.
  • Job/layoutName : peut être figé dans le code en Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/ArtworkList/Artwork/Name

  • Job/Die/Name

Exemple de fichiers XML et XSLT : mise en page de découpe

Commencez par un fichier XML, par exemple, le suivant :

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0003"/>
<Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

Resources\Hungry Cat Carton\Hungry Cat
Carton 1.pdf"/>
<Die DieFile="\\PrinergyServer
\LayoutAutomationSample\Resources\
Hungry Cat Carton\Hungry Cat Carton.CF2"/>
<Plate Width="40" Height="30"/>
</Job>

Créez un fichier XSLT à l'aide d'un programme d'édition XSLT, tel que Stylus Studio :

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList>
<Artwork>
<Name>
<xsl:value-ofselect="Job/
Prepress/@Artwork"/>
</Name>
</Artwork>
</ArtworkList>
<Die>
<Name>
<xsl:value-ofselect="Job/Die/
@DieFile"/>
</Name>
</Die>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/
@Height"/>

</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>

</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

Sv translation
languageit

Se si sta impostando un recupero dati per MIS, sono richiesti campi XSLT specifici per vari tipi di layout, come layout stampa multipla e basati su fustelle.

Nota: tutte le unità vengono fornite in punti, per impostazione predefinita. È possibile impostare le unità di risorse ShopMap direttamente nello schema, in pollici (poll.), millimetri (mm) o centimetri (cm). Le unità degli altri parametri devono essere convertite manualmente aggiungendo operazioni matematiche al file XSLT. Per esempio, aggiungere *72 per convertire da pollici a punti.

È possibile utilizzare il software Stylus Studio per creare file XSLT. La procedura è disponibile qui.

Campi XSLT obbligatori per processi di stampe multiple non popolati

Un processo di stampa multipla non popolato deve includere i seguenti campi:

  • Job/jobName
  • Job/jobType: può essere hard-coded al nome del ticket layout nel software PLA
  • Job/layoutName: può essere hard-coded su Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name: hard-code su SR1
  • Job/StepRepeatList/StepRepeat/id: hard-code su 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/ StepRepeatArtwork/scaleX: hard-code su 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY: hard-code su 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyWidth
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyHeight

File XML e XSLT campione: stampa multipla non popolata

Iniziare con un file XML come quello seguente:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0001"/>
<Prepress ArtworkWidth="19.125"
ArtworkHeight="15.5"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/>
</Job>

Creare un file XSLT usando un software di modifica XSLT come Stylus Studio:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<StepRepeatList>
<StepRepeatname="SR1"id="1">
<xsl:attributename="cols">
<xsl:value-ofselect="Job/
Stripping/@Across"/>
</xsl:attribute>
<xsl:attributename="rows">
<xsl:value-ofselect="Job/
Stripping/@Around"/>
</xsl:attribute>
<StepRepeatArtworkList>
<StepRepeatArtwork scaleX="1"
scaleY="1">

<xsl:attributename="dummyHeight">
<xsl:value-ofselect="Job/
Prepress/@ArtworkHeight *72"/>
</xsl:attribute>

<xsl:attributename="dummyWidth">
<xsl:value-ofselect="Job/
Prepress/@ArtworkWidth*72"/>
</xsl:attribute>
</StepRepeatArtwork>
</StepRepeatArtworkList>
</StepRepeat>
</StepRepeatList>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/
@Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

Campi XSLT obbligatori per processi di stampe multiple popolati

Un processo di stampa multipla popolato deve includere i seguenti campi:

  • Job/jobName
  • Job/jobType: può essere hard-coded al nome del ticket layout nel software PLA
  • Job/layoutName: può essere hard-coded su Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name: hard-code su SR1
  • Job/StepRepeatList/StepRepeat/id: hard-code su 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/ownerID: hard-code su 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleX: hard-code su 1

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY: hard-code su 1

  • Job/ArtworkList/Artwork/Name

  • Job/ArtworkList/Artwork/id: hard-code su 2

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/referenceId: hard-code su 2

File XML e XSLT campione: processi di stampe multiple popolati

Iniziare con un file XML come quello seguente:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0002"/>
<Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

Resources\Hungry Cat Label\Hungry Cat
Label 1.pdf"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/>
</Job>

Creare un file XSLT usando un software di modifica XSLT come Stylus Studio:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList>
<Artworkid="2">
<Name>
<xsl:value-ofselect="Job/
Prepress/@Artwork"/>
</Name>
</Artwork>
</ArtworkList>
<StepRepeatList>
<StepRepeatid="1"name="SR1">
<xsl:attributename="cols">
<xsl:value-ofselect="Job/
Stripping/@Across"/>
</xsl:attribute>
<xsl:attributename="rows">
<xsl:value-ofselect="Job/
Stripping/@Around"/>
</xsl:attribute>
<StepRepeatArtworkList>

<StepRepeatArtworkownerId="1"referenceId="2"
scaleX="1"
scaleY="1"/>
</StepRepeatArtworkList>
</StepRepeat>
</StepRepeatList>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/

@Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

Campi XSLT obbligatori per un layout basato su fustella

Un layout basato su fustella deve includere i seguenti campi:

  • Job/jobName
  • Job/jobType: può essere hard-coded al nome del ticket layout nel software PLA
  • Job/layoutName: può essere hard-coded su Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/ArtworkList/Artwork/Name

  • Job/Die/Name

File XML e XSLT campione: layout basato su fustella

Iniziare con un file XML come quello seguente:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0003"/>
<Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

Resources\Hungry Cat Carton\Hungry Cat
Carton 1.pdf"/>
<Die DieFile="\\PrinergyServer
\LayoutAutomationSample\Resources\
Hungry Cat Carton\Hungry Cat Carton.CF2"/>
<Plate Width="40" Height="30"/>
</Job>

Creare un file XSLT usando un software di modifica XSLT come Stylus Studio:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList>
<Artwork>
<Name>
<xsl:value-ofselect="Job/
Prepress/@Artwork"/>
</Name>
</Artwork>
</ArtworkList>
<Die>
<Name>
<xsl:value-ofselect="Job/Die/
@DieFile"/>
</Name>
</Die>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/
@Height"/>

</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>

</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

Sv translation
languagezh

如果您正在为 MIS 数据检索进行设置,则需要针对不同的版式类型(如多重拼贴版式和基于刀版的版式)对指定的 XSLT 字段进行设置。

注意:默认情况下所有单位为磅。 您可以将模式中 ShopMap 资源的单位直接设置为英寸 (in.)、毫米 (mm) 或厘米 (cm)。 其他参数的单位必须通过向 XSLT 文件添加数学运算进行手动转换。 例如,添加 *72 从英寸转换为磅。

您可以使用 Stylus Studio 软件创建 XLST 文件。 在此处查找操作步骤。

未填充多重拼贴作业的所需 XSLT 字段

未填充多重拼贴作业必须包含以下字段:

  • Job/jobName
  • Job/jobType:可以在 PLA 软件中硬编码为版式传票名称
  • Job/layoutName:可以硬编码为 Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name:硬编码为 SR1
  • Job/StepRepeatList/StepRepeat/id:硬编码为 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/ StepRepeatArtwork/scaleX:硬编码为 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY:硬编码为 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyWidth
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyHeight

示例 XML 和 XSLT 文件:未填充多重拼贴

从如下所示的 XML 文件开始:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0001"/>
<Prepress ArtworkWidth="19.125"
ArtworkHeight="15.5"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/>
</Job>

使用 XSLT 编辑软件(例如 Stylus Studio)创建 XSLT 文件:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<StepRepeatList>
<StepRepeatname="SR1"id="1">
<xsl:attributename="cols">
<xsl:value-ofselect="Job/
Stripping/@Across"/>
</xsl:attribute>
<xsl:attributename="rows">
<xsl:value-ofselect="Job/
Stripping/@Around"/>
</xsl:attribute>
<StepRepeatArtworkList>
<StepRepeatArtwork scaleX="1"
scaleY="1">

<xsl:attributename="dummyHeight">
<xsl:value-ofselect="Job/
Prepress/@ArtworkHeight *72"/>
</xsl:attribute>

<xsl:attributename="dummyWidth">
<xsl:value-ofselect="Job/
Prepress/@ArtworkWidth*72"/>
</xsl:attribute>
</StepRepeatArtwork>
</StepRepeatArtworkList>
</StepRepeat>
</StepRepeatList>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/
@Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

未填充多重拼贴作业的所需 XSLT 字段

未填充多重拼贴作业必须包含以下字段:

  • Job/jobName
  • Job/jobType:可以在 PLA 软件中硬编码为版式传票名称
  • Job/layoutName:可以硬编码为 Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name:硬编码为 SR1
  • Job/StepRepeatList/StepRepeat/id:硬编码为 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/ownerID: :硬编码为 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleX:硬编码为 1

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY:硬编码为 1

  • Job/ArtworkList/Artwork/Name

  • Job/ArtworkList/Artwork/id:硬编码为 2

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/referenceId:硬编码为 2

示例 XML 和 XSLT 文件:未填充多重拼贴作业

从如下所示的 XML 文件开始:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0002"/>
<Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

Resources\Hungry Cat Label\Hungry Cat
Label 1.pdf"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/>
</Job>

使用 XSLT 编辑软件(例如 Stylus Studio)创建 XSLT 文件:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList>
<Artworkid="2">
<Name>
<xsl:value-ofselect="Job/
Prepress/@Artwork"/>
</Name>
</Artwork>
</ArtworkList>
<StepRepeatList>
<StepRepeatid="1"name="SR1">
<xsl:attributename="cols">
<xsl:value-ofselect="Job/
Stripping/@Across"/>
</xsl:attribute>
<xsl:attributename="rows">
<xsl:value-ofselect="Job/
Stripping/@Around"/>
</xsl:attribute>
<StepRepeatArtworkList>

<StepRepeatArtworkownerId="1"referenceId="2"
scaleX="1"
scaleY="1"/>
</StepRepeatArtworkList>
</StepRepeat>
</StepRepeatList>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/

@Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

基于刀版的版式所需的 XSLT 字段

基于刀版的版式必须包含以下字段:

  • Job/jobName
  • Job/jobType:可以在 PLA 软件中硬编码为版式传票名称
  • Job/layoutName:可以硬编码为 Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/ArtworkList/Artwork/Name

  • Job/Die/Name

示例 XML 和 XSLT 文件:基于刀版的版式

从如下所示的 XML 文件开始:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0003"/>
<Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

Resources\Hungry Cat Carton\Hungry Cat
Carton 1.pdf"/>
<Die DieFile="\\PrinergyServer
\LayoutAutomationSample\Resources\
Hungry Cat Carton\Hungry Cat Carton.CF2"/>
<Plate Width="40" Height="30"/>
</Job>

使用 XSLT 编辑软件(例如 Stylus Studio)创建 XSLT 文件:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList>
<Artwork>
<Name>
<xsl:value-ofselect="Job/
Prepress/@Artwork"/>
</Name>
</Artwork>
</ArtworkList>
<Die>
<Name>
<xsl:value-ofselect="Job/Die/
@DieFile"/>
</Name>
</Die>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/
@Height"/>

</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>

</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

Sv translation
languagees

Si va a configurar la recuperación de datos del MIS, se necesitan campos específicos en el XSLT para distintos tipos de diseño, por ejemplo, para diseños de avance y repetición o basados en troquelado. 

Nota: Por defecto, todas las unidades se indican en puntos. Es posible definir las unidades de los recursos de ShopMap directamente en el esquema en pulgadas (pulg.), milímetros (mm) o centímetros (cm). Las unidades de los demás parámetros se deben convertir de forma manual añadiendo operaciones matemáticas al archivo XSLT. Por ejemplo, añada *72 para convertir de pulgadas a puntos. 

Puede utilizar el software Stylus Studio para crear archivos XLST. Puede consultar el procedimiento aquí.

Campos de XSLT necesarios para trabajos de avance y repetición sin rellenar

Los campos de avance y repetición sin rellenar deben incluir los campos que se indican a continuación:

  • Job/jobName
  • Job/jobType: se puede codificar como el nombre de la nota de diseño en el software PLA
  • Job/layoutName: se puede codificar como Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name: codificar como SR1
  • Job/StepRepeatList/StepRepeat/id: codificar como 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/ StepRepeatArtwork/scaleX: codificar como 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY: codificar como 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyWidth
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyHeight

Archivos XML y XSLT de muestra: avance y repetición sin rellenar

Empiece con un archivo XML como el siguiente:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
     <Info JobName="MIS-0001"/>
     <Prepress ArtworkWidth="19.125"
ArtworkHeight="15.5"/>
     <Stripping Around="1" Across="3"/>
     <Plate Width="57.375" Height="15.5"/>
</Job>

Cree un archivo XSLT mediante un software de edición de XSLT, como Stylus Studio:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
  <xsl:templatematch="/">
    <JobjobType="Demo"layoutName="Layout">
      <xsl:attributename="jobName">
        <xsl:value-ofselect="Job/Info/
@JobName"/>
      </xsl:attribute>
      <StepRepeatList>
        <StepRepeatname="SR1"id="1">
          <xsl:attributename="cols">
            <xsl:value-ofselect="Job/
Stripping/@Across"/>
          </xsl:attribute>
          <xsl:attributename="rows">
            <xsl:value-ofselect="Job/
Stripping/@Around"/>
          </xsl:attribute>
          <StepRepeatArtworkList>
            <StepRepeatArtwork scaleX="1"
scaleY="1">

<xsl:attributename="dummyHeight">
                <xsl:value-ofselect="Job/
Prepress/@ArtworkHeight *72"/>
              </xsl:attribute>

<xsl:attributename="dummyWidth">
                <xsl:value-ofselect="Job/
Prepress/@ArtworkWidth*72"/>
              </xsl:attribute>
            </StepRepeatArtwork>
          </StepRepeatArtworkList>
        </StepRepeat>
     </StepRepeatList>
     <Shopmap>
       <PressSheetunit="in">
         <xsl:attributename="height">
           <xsl:value-ofselect="Job/Plate/
@Height"/>
         </xsl:attribute>
         <xsl:attributename="width">
           <xsl:value-ofselect="Job/Plate/
@Width"/>
         </xsl:attribute>
        </PressSheet>
      </Shopmap>
   </Job>
       </xsl:template>
 </xsl:stylesheet>

Campos de XSLT necesarios para los trabajos de avance y repetición rellenados

Los campos de avance y repetición rellenados deben incluir los campos que se indican a continuación:

  • Job/jobName
  • Job/jobType: se puede codificar como el nombre de la nota de diseño en el software PLA
  • Job/layoutName: se puede codificar como Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/name: codificar como SR1
  • Job/StepRepeatList/StepRepeat/id: codificar como 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/ownerID: : codificar como 1
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleX: codificar como 1

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY: codificar como 1

  • Job/ArtworkList/Artwork/Name

  • Job/ArtworkList/Artwork/id: codificar como 2

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/referenceId: codificar como 2

Archivos XML y XSLT de muestra: trabajos de avance y repetición rellenados

Empiece con un archivo XML como el siguiente:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
     <Info JobName="MIS-0002"/>
     <Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

  Resources\Hungry Cat Label\Hungry Cat
Label 1.pdf"/>
     <Stripping Around="1" Across="3"/>
     <Plate Width="57.375" Height="15.5"/>
</Job>

Cree un archivo XSLT mediante un software de edición de XSLT, como Stylus Studio:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
  <xsl:templatematch="/">
    <JobjobType="Demo"layoutName="Layout">
      <xsl:attributename="jobName">
        <xsl:value-ofselect="Job/Info/
@JobName"/>
      </xsl:attribute>
            <ArtworkList>
        <Artworkid="2">
          <Name>
            <xsl:value-ofselect="Job/
Prepress/@Artwork"/>
          </Name>
        </Artwork>
      </ArtworkList>
      <StepRepeatList>
        <StepRepeatid="1"name="SR1">
          <xsl:attributename="cols">
            <xsl:value-ofselect="Job/
Stripping/@Across"/>
          </xsl:attribute>
          <xsl:attributename="rows">
            <xsl:value-ofselect="Job/
Stripping/@Around"/>
          </xsl:attribute>
          <StepRepeatArtworkList>

<StepRepeatArtworkownerId="1"referenceId="2"
scaleX="1"
            scaleY="1"/>
          </StepRepeatArtworkList>
        </StepRepeat>
      </StepRepeatList>
      <Shopmap>
        <PressSheetunit="in">
          <xsl:attributename="height">
            <xsl:value-ofselect="Job/Plate/

@Height"/>
          </xsl:attribute>
          <xsl:attributename="width">
            <xsl:value-ofselect="Job/Plate/
@Width"/>
          </xsl:attribute>
        </PressSheet>
      </Shopmap>
    </Job>
  </xsl:template>
</xsl:stylesheet>

Campos de XSLT necesarios para un diseño basados en troquelado

Los diseños basados en troquelado deben incluir los campos siguientes:

  • Job/jobName
  • Job/jobType: se puede codificar como el nombre de la nota de diseño en el software PLA
  • Job/layoutName: se puede codificar como Layout
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/ArtworkList/Artwork/Name

  • Job/Die/Name

Archivos XML y XSLT de muestra: diseño basado en troquelado

Empiece con un archivo XML como el siguiente:

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
     <Info JobName="MIS-0003"/>
     <Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

  Resources\Hungry Cat Carton\Hungry Cat
Carton 1.pdf"/>
  <Die DieFile="\\PrinergyServer
\LayoutAutomationSample\Resources\
  Hungry Cat Carton\Hungry Cat Carton.CF2"/>
  <Plate Width="40" Height="30"/>
</Job>

Cree un archivo XSLT mediante un software de edición de XSLT, como Stylus Studio:

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
  <xsl:templatematch="/">
    <JobjobType="Demo"layoutName="Layout">
      <xsl:attributename="jobName">
        <xsl:value-ofselect="Job/Info/
@JobName"/>
      </xsl:attribute>
            <ArtworkList>
        <Artwork>
          <Name>
            <xsl:value-ofselect="Job/
Prepress/@Artwork"/>
          </Name>
        </Artwork>
      </ArtworkList>
      <Die>
        <Name>
          <xsl:value-ofselect="Job/Die/
@DieFile"/>
        </Name>
      </Die>
      <Shopmap>
        <PressSheetunit="in">
          <xsl:attributename="height">
            <xsl:value-ofselect="Job/Plate/
@Height"/>

          </xsl:attribute>
          <xsl:attributename="width">
            <xsl:value-ofselect="Job/Plate/
@Width"/>

          </xsl:attribute>
        </PressSheet>
      </Shopmap>
    </Job>
  </xsl:template>
</xsl:stylesheet>

Sv translation
languageja

MIS データを読み込む設定を行う場合は、ステップ&リピートやダイ ベースのレイアウトなど、レイアウトの種類ごとに特定の XSLT フィールドが必要です。

注意:デフォルトでは、すべての単位は「ポイント」になります。 スキーマにある ShopMap 設定項目の単位は直接、インチ(in.)、ミリメートル(mm)、センチメートル(cm)に設定できます。 他のパラメータの単位については、XSLT ファイルに換算のための数値と数学演算子を追加して、手動で変換する必要があります。 たとえば、インチからポイントに変換する場合は、*72 を加えます。

Stylus Studio ソフトウェアを使用して XLST ファイルを作成できます。 ここで手順を確認してください。

アートワーク情報を含まないステップ&リピート ジョブ用の XSLT 必須フィールド

アートワーク情報を含まないステップ&リピート ジョブには、次のフィールドを含める必要があります。

  • Job/jobName
  • Job/jobType:PLA ソフトウェアのレイアウト チケット名に指定可能
  • Job/layoutNameLayout に指定可能
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/nameSR1 に指定
  • Job/StepRepeatList/StepRepeat/id1 に指定
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/ StepRepeatArtwork/scaleX:1 に指定
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY:1 に指定
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyWidth
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/dummyHeight

XML サンプル ファイルおよび XSLT サンプル ファイル:アートワーク情報を含まないステップ&リピート

次のように、最初に XML ファイルを記述します。

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0001"/>
<Prepress ArtworkWidth="19.125"
ArtworkHeight="15.5"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/>
</Job>

次のように、Stylus Studio などの XSLT 編集ソフトウェアを使用して、XSLT ファイルを作成します。

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<StepRepeatList>
<StepRepeatname="SR1"id="1">
<xsl:attributename="cols">
<xsl:value-ofselect="Job/
Stripping/@Across"/>
</xsl:attribute>
<xsl:attributename="rows">
<xsl:value-ofselect="Job/
Stripping/@Around"/>
</xsl:attribute>
<StepRepeatArtworkList>
<StepRepeatArtwork scaleX="1"
scaleY="1">

<xsl:attributename="dummyHeight">
<xsl:value-ofselect="Job/
Prepress/@ArtworkHeight *72"/>
</xsl:attribute>

<xsl:attributename="dummyWidth">
<xsl:value-ofselect="Job/
Prepress/@ArtworkWidth*72"/>
</xsl:attribute>
</StepRepeatArtwork>
</StepRepeatArtworkList>
</StepRepeat>
</StepRepeatList>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/
@Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

アートワーク情報を含むステップ&リピート ジョブ用の XSLT 必須フィールド

アートワーク情報を含むステップ&リピート ジョブには、次のフィールドを含める必要があります。

  • Job/jobName
  • Job/jobType:PLA ソフトウェアのレイアウト チケット名に指定可能
  • Job/layoutNameLayout に指定可能
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/StepRepeatList/StepRepeat/cols
  • Job/StepRepeatList/StepRepeat/rows
  • Job/StepRepeatList/StepRepeat/nameSR1 に指定
  • Job/StepRepeatList/StepRepeat/id1 に指定
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/ownerID: 1 に指定
  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleX1 に指定

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/scaleY1 に指定

  • Job/ArtworkList/Artwork/Name

  • Job/ArtworkList/Artwork/id2 に指定

  • Job/StepRepeatList/StepRepeat/StepRepeatArtworkList/StepRepeatArtwork/referenceId2 に指定

XML サンプル ファイルおよび XSLT サンプル ファイル:アートワーク情報を含むステップ&リピート ジョブ

次のように、最初に XML ファイルを記述します。

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0002"/>
<Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

Resources\Hungry Cat Label\Hungry Cat
Label 1.pdf"/>
<Stripping Around="1" Across="3"/>
<Plate Width="57.375" Height="15.5"/>
</Job>

次のように、Stylus Studio などの XSLT 編集ソフトウェアを使用して、XSLT ファイルを作成します。

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList>
<Artworkid="2">
<Name>
<xsl:value-ofselect="Job/
Prepress/@Artwork"/>
</Name>
</Artwork>
</ArtworkList>
<StepRepeatList>
<StepRepeatid="1"name="SR1">
<xsl:attributename="cols">
<xsl:value-ofselect="Job/
Stripping/@Across"/>
</xsl:attribute>
<xsl:attributename="rows">
<xsl:value-ofselect="Job/
Stripping/@Around"/>
</xsl:attribute>
<StepRepeatArtworkList>

<StepRepeatArtworkownerId="1"referenceId="2"
scaleX="1"
scaleY="1"/>
</StepRepeatArtworkList>
</StepRepeat>
</StepRepeatList>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/

@Height"/>
</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>
</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>

ダイ ベースのレイアウト用の XSLT 必須フィールド

ダイ ベースのレイアウトには、次のフィールドを含める必要があります。

  • Job/jobName
  • Job/jobType:PLA ソフトウェアのレイアウト チケット名に指定可能
  • Job/layoutNameLayout に指定可能
  • Job/Shopmap/PressSheet/Width
  • Job/Shopmap/PressSheet/Height
  • Job/ArtworkList/Artwork/Name

  • Job/Die/Name

XML サンプル ファイルおよび XSLT サンプル ファイル:ダイ ベースのレイアウト

次のように、最初に XML ファイルを記述します。

<?xml version="1.0" encoding="UTF-8"?>
<Job xmlns:xsi=http://www.kodak.com
xsi:noNamespaceSchemaLocation="http://
www.kodak.com">
<Info JobName="MIS-0003"/>
<Prepress Artwork="\\PrinergyServer
\LayoutAutomationSample\

Resources\Hungry Cat Carton\Hungry Cat
Carton 1.pdf"/>
<Die DieFile="\\PrinergyServer
\LayoutAutomationSample\Resources\
Hungry Cat Carton\Hungry Cat Carton.CF2"/>
<Plate Width="40" Height="30"/>
</Job>

次のように、Stylus Studio などの XSLT 編集ソフトウェアを使用して、XSLT ファイルを作成します。

< ?xml version='1.0'?>
<xsl:stylesheetversion="1.0"xmlns:xsl="http:
//www.w3.org/1999/XSL/
Transform">
<xsl:templatematch="/">
<JobjobType="Demo"layoutName="Layout">
<xsl:attributename="jobName">
<xsl:value-ofselect="Job/Info/
@JobName"/>
</xsl:attribute>
<ArtworkList>
<Artwork>
<Name>
<xsl:value-ofselect="Job/
Prepress/@Artwork"/>
</Name>
</Artwork>
</ArtworkList>
<Die>
<Name>
<xsl:value-ofselect="Job/Die/
@DieFile"/>
</Name>
</Die>
<Shopmap>
<PressSheetunit="in">
<xsl:attributename="height">
<xsl:value-ofselect="Job/Plate/
@Height"/>

</xsl:attribute>
<xsl:attributename="width">
<xsl:value-ofselect="Job/Plate/
@Width"/>

</xsl:attribute>
</PressSheet>
</Shopmap>
</Job>
</xsl:template>
</xsl:stylesheet>