Page tree

Versions Compared

Key

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

When data is transferred from an MIS to the PLA software, the MIS generates job information in XML format that is specific to the MIS, and then a custom Extensible Stylesheet Language Transformation (XSLT) file changes the MIS XML files into XML files that PLA can accept.

XML generated by the MIS 

The MIS must generate job information in XML format—one XML file per layout.

The format of the XML is flexible. Each MIS may have its own custom format. Typically, the format is defined in a schema written in an XML schema definition (.xsd) file. The schema defines the names, types, and relationships of each piece of information. A schema is helpful but not required.

XML required by PLA

The PLA software must receive data in XML files that conform to a specific XML schema. 

For example, the PLA schema requires the XML file to identify marks with the name MarksList. The marks that you want to add must be identified with the name AddList, and they must be inside the MarksList.

The schema is installed on the server when you install PLA. It is called TargetXML.xsd and is located in the ...\Program Files (x86)\Kodak\LayoutAutomation\RBA\XML folder. 

For descriptions of the elements and attributes in the schema, see the annotations embedded in the schema file.

Comparing the MIS and the PLA XML

The MIS schema usually differs from the PLA schema.

For example, the XML file from your MIS may identify all artwork with the name Artworks, while the PLA software requires you to identify artwork with the name ArtworkList

To resolve this problem, software developers have the following options:

  • Modify the MIS so that it generates XML files that conform to the PLA schema. This solution is appropriate if software developers are modifying the MIS for other reasons—for example, to make the MIS generate XML files instead of using another file format.
  • Write an XSLT file that changes the XML file from the MIS into an XML file that conforms to the PLA schema.

Modifying XML with XSLT

XSLT is a programming language that can change one type of XML into another type.

Use XSLT to change the XML files that the MIS generates into XML files of a format that the PLA software supports. Each time that the MIS produces an XML file, the XSLT file reads the XML file and creates a new XML file with a different structure but the same data.

For example, an XSLT file can change the name Artworks in an MISgenerated XML file to ArtworkList in the XML file used by the PLA software.

You can create the XSLT file in a text editor, or you can use XSLT editing software.

Sv translation
languagede

Wenn Daten aus einem MIS an die PLA-Software übertragen werden, so erzeugt das MIS Job-Informationen in einem für dieses Management-Informationssystem spezifischen XML-Format. Eine benutzerdefinierte XSLT-Datei (Extensible Stylesheet Language Transformation) wandelt diese MIS-XML-Dateien anschließend in XML-Dateien um, die von PLA verarbeitet werden können.

Vom MIS erzeugte XML-Dateien

Das MIS erzeugt Job-Informationen im XML-Format, und zwar eine XML-Datei pro Layout.

Das Format der XML-Datei ist flexibel. Bei jedem MIS kann ein eigenes, angepasstes Format üblich sein. Dieses Format ist für gewöhnlich in einem Schema festgelegt, das als XML-Schemadefinitionsdatei (.xsd) gespeichert ist. In diesem Schema sind Name, Typ und Beziehungen der einzelnen Informationen definiert. Ein Schema ist nützlich, jedoch nicht zwingend notwendig.

Für PLA erforderliche XML-Dateien

Die PLA-Software muss Daten in XML-Dateien empfangen, die einem bestimmten XML-Schema entsprechen.

Beispielsweise muss die XML-Datei laut dem PLA-Schema Marken mit dem Namen MarksList kennzeichnen. Marken, die Sie hinzufügen möchten, müssen mit dem Namen AddList gekennzeichnet sein und sich in der MarksList befinden.

Das Schema wird bei der Installation von PLA auf dem Server installiert. Es nennt sich TargetXML.xsd und befindet sich im Ordner ...\Program Files (x86)\Kodak\LayoutAutomation\RBA\XML.

Beschreibungen der im Schema enthaltenen Elemente und Attribute finden Sie in den Anmerkungen, die in der Schemadatei eingebettet sind.

Vergleichen der vom MIS und der von PLA erzeugten XML-Datei

Das MIS-Schema unterscheidet sich normalerweise vom PLA-Schema.

Es kann beispielsweise sein, dass in der XML-Datei Ihres MIS alle Druckvorlagen mit dem Namen Artworks gekennzeichnet sind, während Druckvorlagen in der PLA-Software jedoch den Namen ArtworkList tragen müssen.

Softwareentwicklern haben zur Lösung dieses Problems folgende Möglichkeiten:

  • Das MIS kann so modifiziert werden, dass die erzeugten XML-Dateien dem PLA-Schema entsprechen. Diese Lösung bietet sich an, wenn der Entwickler das MIS auch aus anderen Gründen modifizieren muss, beispielsweise, damit das MIS Dateien im XML-Format statt in anderen Formaten erzeugt.
  • Es kann eine XSLT-Datei erstellt werden, die die XML-Datei des MIS in eine XML-Datei umwandelt, die dem PLA-Schema entspricht.

Modifizieren von XML-Dateien mittels XSLT

XSLT ist eine Programmiersprache, mit der Dateien eines XML-Typs in einen anderen XML-Typ umgewandelt werden können.

Verwenden Sie XSLT zum Ändern der vom MIS erzeugten XML-Dateien, sodass diese XML-Dateien einem Format entsprechen, das von der PLA-Software unterstützt wird. Die XSLT-Datei liest jede vom MIS erzeugte XML-Datei und erzeugt eine neue XML-Datei, die nun eine andere Struktur hat, jedoch die gleichen Daten enthält.

Eine XSLT-Datei kann beispielsweise den Namen Artworks in einer vom MIS erstellten XML-Datei zu ArtworkList in der XML-Datei ändern, die von der PLA-Software verwendet wird.

Die XSLT-Datei können Sie entweder direkt in einem Texteditor oder in einer XSLT-Bearbeitungssoftware erstellen.

Sv translation
languagefr

Lorsque des données sont transférées depuis un MIS vers le logiciel PLA, le MIS génère des informations de travail au format XML spécifique au MIS avant qu'un fichier Extensible Stylesheet Language Transformation (XSLT) personnalisé ne transforme les fichiers XML du MIS en fichiers XML pris en charge par PLA.

XML créé par le MIS

Le MIS peut créer des informations de travail au format XML, à raison d'un fichier XML par mise en page.

Le format du XML est flexible. Chaque MIS peut avoir son propre format personnalisé. En général, le format est défini dans un schéma écrit dans un fichier XML de définition de schéma (.xsd). Ce schéma définit les noms, types et relations de chacune des informations. Un schéma est utile mais n'est pas obligatoire.

XML requis par PLA

Le logiciel PLA doit recevoir les données dans des fichiers XML conformes à un schéma XML spécifique.

Par exemple, le schéma PLA requiert le fichier XML pour identifier les repères portant le nom MarksList. Les repères que vous voulez ajouter doivent être identifiés avec le nom AddList et ils doivent se trouver dans la liste MarksList.

Le schéma est installé sur le serveur lorsque vous installez PLA. Il s'appelle TargetXML.xsd et se trouve dans le dossier ...\Program Files (x86)\Kodak\LayoutAutomation\RBA\XML.

Pour obtenir des descriptions des éléments et des attributs du schéma, reportez-vous aux annotations incorporées dans le fichier du schéma.

Comparaison des formats XML du MIS et de PLA

Le schéma du MIS diffère généralement de celui de PLA.

Par exemple, le fichier XML de votre MIS peut identifier toute maquette avec le nom Artworks, tandis que le logiciel PLA vous oblige à identifier une maquette avec le nom ArtworkList.

Pour résoudre ce problème, les développeurs de logiciels ont les possibilités suivantes :

  • Modifier le MIS afin qu'il génère des fichiers XML conformes au schéma PLA. Cette solution est appropriée si les développeurs de logiciels modifient le MIS pour d'autres raisons : par exemple, pour faire en sorte que le MIS crée des fichiers XML au lieu d'utiliser un autre format de fichier.
  • Écrire un fichier XSLT qui transforme le fichier XML du MIS en un fichier XML conforme au schéma PLA.

Modification d'un fichier XML avec XSLT

XSLT est un langage de programmation qui peut transformer un type de fichier XML en un autre.

Utilisez XSLT pour transformer les fichiers XML que crée le MIS en des fichiers XML au format pris en charge par le logiciel PLA. Chaque fois que le MIS produit un fichier XML, le fichier XSLT lit le fichier XML et crée un nouveau fichier XML avec une structure différente mais des données identiques.

Par exemple, un fichier XSLT peut transformer le nom Artworks dans un fichier XML créé par le MIS en ArtworkList dans le fichier XML utilisé par le logiciel PLA.

Vous pouvez créer le fichier XSLT dans un éditeur de texte ou utiliser un programme d'édition XSLT.

...