As part of the output I can get an xml file. The xml file has information on all products that is part of this particular imposition.
Is it possible to somehow filter the xml file and only keep the job id (P107586_500.PDF in this case) and the names of all products?
The number of products in the xml will vary with every imposition made.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<job>
<id>P107586_500.PDF</id>
<name></name>
<contact></contact>
<phone></phone>
<client></client>
<notes></notes>
<default-bleed>5mm</default-bleed>
<units>mm</units>
<run-length>53</run-length>
<press-minutes>47</press-minutes>
<plate-cost>0.0</plate-cost>
<stock-cost>4849.6650390625</stock-cost>
<press-cost>1175.0</press-cost>
<die-cost>0.0</die-cost>
<total-cost>6024.6650390625</total-cost>
<waste>0.34245550632476807</waste>
<sheet-usage>0.6751038432121277</sheet-usage>
<underrun>0.0</underrun>
<overrun>0.044802866876125336</overrun>
<layout-count>1</layout-count>
<layouts>
<layout>
<index>1</index>
<name>Layout 1</name>
<workstyle>FlatWork</workstyle>
<run-length>53</run-length>
<press-minutes>47</press-minutes>
<plates>4</plates>
<plate-cost>0.0</plate-cost>
<stock-cost>4849.6650390625</stock-cost>
<press-cost>1175.0</press-cost>
<die-cost>0.0</die-cost>
<total-cost>6024.6650390625</total-cost>
<waste>0.34245550632476807</waste>
<sheet-usage>0.6751038432121277</sheet-usage>
<underrun>0.0</underrun>
<overrun>0.044802866876125336</overrun>
<product-count>3</product-count>
<tool-stats>
<categories>
<category>
<name>Cut</name>
<length>17756.4604mm</length>
</category>
<category>
<name>Crease</name>
<length>0mm</length>
</category>
</categories>
</tool-stats>
<priority-stats>
<priority-stat>
<priority>1</priority>
<sheet-usage>0.67510384</sheet-usage>
</priority-stat>
</priority-stats>
<surfaces>
<surface>
<side>Front</side>
<press>
<name>Plano Skärbord</name>
<id>9c8883a0-5391-4fd9-85fc-81f4de7e976d</id>
</press>
<stock>
<name>Kanalplast</name>
<id>38fba052-222f-44bc-b3e1-38c800a8168c</id>
</stock>
<grade>
<name>1780 gsm</name>
<id>f08a4792-791a-4736-aec5-bbc3aae2c5b4</id>
</grade>
<sheet>
<name>1600 x 1780mm Long</name>
<id>08e98c5f-a17c-42e0-a244-b629e06b975e</id>
<width>1600mm</width>
<height>1780mm</height>
</sheet>
<inks>
<ink>
<name>Black</name>
<separation>false</separation>
<type>normal</type>
</ink>
<ink>
<name>Cyan</name>
<separation>false</separation>
<type>normal</type>
</ink>
<ink>
<name>Magenta</name>
<separation>false</separation>
<type>normal</type>
</ink>
<ink>
<name>Yellow</name>
<separation>false</separation>
<type>normal</type>
</ink>
<ink>
<name>Cut</name>
<separation>true</separation>
<type>cut</type>
</ink>
</inks>
</surface>
</surfaces>
</layout>
</layouts>
<products>
<product>
<name>P107586_400.PDF</name>
<index>1</index>
<ordered>150</ordered>
<die-source>_11F7C_P107586_400.PDF</die-source>
<die-path>C:/Users/Admin/AppData/Local/Temp/phoenix-c9ce838b-cd34-4f72-8621-f623c3e516db/P107586_500PDF-4116310353162221012/upload/1/_11F7C_P107586_400.PDF</die-path>
<stock>Kanalplast</stock>
<grade>1780 gsm</grade>
<grain>None</grain>
<width>399.5282mm</width>
<height>463.6602mm</height>
<spacing-type>Uniform</spacing-type>
<group>Kanalplast_1780 gsm</group>
<priority>1</priority>
<rotation>Orthogonal</rotation>
<templates/>
<placed>3</placed>
<total>159</total>
<overrun>9</overrun>
<layouts>
<layout index="1" placed="3"/>
</layouts>
</product>
<product>
<name>P107587_300.PDF</name>
<index>2</index>
<ordered>39</ordered>
<die-source>_11F7E_P107586_300.PDF</die-source>
<die-path>C:/Users/Admin/AppData/Local/Temp/phoenix-c9ce838b-cd34-4f72-8621-f623c3e516db/P107586_500PDF-4116310353162221012/upload/2/_11F7E_P107586_300.PDF</die-path>
<stock>Kanalplast</stock>
<grade>1780 gsm</grade>
<grain>None</grain>
<width>299.4127mm</width>
<height>347.5097mm</height>
<spacing-type>Uniform</spacing-type>
<group>Kanalplast_1780 gsm</group>
<priority>1</priority>
<rotation>Orthogonal</rotation>
<templates/>
<placed>1</placed>
<total>53</total>
<overrun>14</overrun>
<layouts>
<layout index="1" placed="1"/>
</layouts>
</product>
<product>
<name>P107588s_500.PDF</name>
<index>3</index>
<ordered>369</ordered>
<die-source>_11F7A_P107586_500.PDF</die-source>
<die-path>C:/Users/Admin/AppData/Local/Temp/phoenix-c9ce838b-cd34-4f72-8621-f623c3e516db/P107586_500PDF-4116310353162221012/upload/3/_11F7A_P107586_500.PDF</die-path>
<stock>Kanalplast</stock>
<grade>1780 gsm</grade>
<grain>None</grain>
<width>499.413mm</width>
<height>579.5782mm</height>
<spacing-type>Uniform</spacing-type>
<group>Kanalplast_1780 gsm</group>
<priority>1</priority>
<rotation>Orthogonal</rotation>
<templates/>
<placed>7</placed>
<total>371</total>
<overrun>2</overrun>
<layouts>
<layout index="1" placed="7"/>
</layouts>
</product>
</products>
</job>
Lasse