Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed translated content for 'fr'
Sv translation
languageen

You can create XSLT files using a text editor or a software application designed specifically for creating XSLT files. Stylus Studio is one of the software applications that you can use to create XSLT files.

This procedure describes how to create an XSLT file using Stylus Studio 2009: XML Professional Suite Release 2.

  1. In Stylus Studio, select File > New > XSLT Stylesheet.
  2. In the Scenario Properties dialog box, click Cancel.
  3. To switch to the mapping view, click the Mapper tab at the bottom of the window.
  4. In the left column, click Add Source Document.
  5. Select the schema (XSD) or example file (XML) generated from the management information system.
  6. In the right column, click Set Target Document.
  7. Select the PLA schema at ...\Program Files (x86)\Kodak\LayoutAutomation\RBA\XML\TargetXML.xsd.
  8. To map each field in the source document to a field in the target document, drag the source field from the Add Source Document column to the target field in the Set Target Document column.
    A line appears connecting the source field to the target field. 
     
  9. (Optional) To add a default value to a field, right-click a target field and select Set Text Value. In the Literal Value dialog box, type the default value.
  10. Save the file to a location that is accessible by Rules-Based Automation. For example, ...\Program Files (x86)\Prinergy\RBA\LayoutAutomation\XML.
Sv translation
languagefr

Vous pouvez créer des fichiers XSLT dans un éditeur de texte ou à l'aide d'une application logicielle conçue spécifiquement pour cette tâche. Stylus Studio est l'une des applications logicielles qui vous permet de créer des fichiers XSLT.

La procédure ci-dessous explique comment créer un fichier XSLT à l'aide de Stylus Studio 2009 : XML Professional Suite Release 2.

  1. Dans Stylus Studio, sélectionnez Fichier > Nouveau > Feuille de style XSLT.
  2. Dans la boîte de dialogue des propriétés de scénario, cliquez sur Annuler
  3. Pour passer dans la vue de mappage, cliquez sur l'onglet Mappeur au bas de la fenêtre.
  4. Dans la colonne gauche, cliquez sur Ajouter un document source.
  5. Sélectionnez le fichier de schéma (XSD) ou le fichier d'exemple (XML) généré à partir du système d'informations de gestion.
  6. Dans la colonne droite, cliquez sur Définir le document cible.
  7. Sélectionnez le schéma PLA dans ...\Program Files (x86)\Kodak\LayoutAutomation\RBA\XML\TargetXML.xsd.
  8. Pour faire correspondre chaque champ du document source à un champ du document cible, faites glisser le champ source de la colonne Ajouter un document source vers le champ cible de la colonne Définir le document cible.
    Une ligne s'affiche, associant le champ source au champ cible.
    Image Removed
  9. (Facultatif) Pour ajouter une valeur par défaut dans un champ, cliquez avec le bouton droit de la souris sur un champ cible, puis choisissez Définir la valeur de texte. Dans la boîte de dialogue Valeur littérale, saisissez la valeur par défaut.
  10. Enregistrez le fichier dans un emplacement auquel Rules-Based Automation a accès. Par exemple, ...\Program Files (x86)\Prinergy\RBA\LayoutAutomation\XML.
Sv translation
languagezh

您可以使用文本编辑器或专为创建 XSLT 文件而设计的软件应用程序创建 XSLT 文件。 Stylus Studio 是可用于创建 XSLT 文件的软件应用程序之一。

此过程描述如何使用 Stylus Studio 2009:XML Professional Suite 版本 2 创建 XSLT 文件。

  1. 在 Stylus Studio 中,选择“文件 > 新建 > XSLT 样式单”。
  2. 在“流程属性”对话框中,单击“取消”。
  3. 要切换到映射视图,请单击窗口底部的“映射程序”选项卡。
  4. 在左栏中,单击“添加源文档”。
  5. 选择从管理信息系统生成的模式 (XSD) 或示例文件 (XML)。
  6. 在右栏中,单击“设置目标文档”。
  7. 选择 ...\Program Files (x86)\Kodak\LayoutAutomation\RBA\XML\TargetXML.xsd 的PLA 模式。
  8. 要将源文档中的每个字段映射到目标文档的字段,请将源字段从“添加源文档”列拖动到“设置目标文档”列的目标字段。
    此时会显示连接源字段与目标资源的线。
  9. (可选)要对字段添加默认值,请右键单击目标字段并选择“设置文本值”。 在“文本值”对话框中,输入默认值。
  10. 将文件保存在基于规则的自动化可以访问的位置。 例如,...\Program Files (x86)\Prinergy\RBA\LayoutAutomation\XML