idml2xml

Library to convert IDML to Hub XML or to extract tagging from an IDML file

Repository
Git URLhttps://github.com/transpect/idml2xml.git
SVN URLhttps://github.com/transpect/idml2xml
Base URIhttp://transpect.io/idml2xml/

Source ⬇

idml2xml:hub

Import

<p:import href="http://transpect.io/idml2xml/xpl/idml2hub.xpl"/>

Dependencies

Synopsis

<idml2xml:hub xmlns:idml2xml="http://transpect.io/idml2xml">
  <p:input port="xslt-stylesheet"/>
  <p:output port="zip-manifest"/>
  <p:output port="Document"/>
  <p:output port="DocumentStoriesSorted"/>
  <p:output port="tagged"/>
  <p:output port="report" sequence="true"/>
  <p:output port="result" primary="true"/>
  <p:option name="idmlfile"/>
  <p:option name="hub-version" required="false" select="'1.2'"/>
  <p:option name="srcpaths" required="false" select="'no'"/>
  <p:option name="all-styles" required="false" select="'no'"/>
  <p:option name="discard-tagging" required="false" select="'yes'"/>
  <p:option name="process-embedded-images" required="false" select="'yes'"/>
  <p:option name="preserve-original-image-refs" required="false" select="'no'"/>
  <p:option name="hub-other-elementnames-whitelist" required="false" select="''"/>
  <p:option name="output-items-not-on-workspace" required="false" select="'no'"/>
  <p:option name="debug" required="false" select="'no'"/>
  <p:option name="debug-dir-uri" required="false" select="'debug'"/>
  <p:option name="status-dir-uri" required="false" select="'status'"/>
  <p:option name="fail-on-error" required="false" select="'yes'"/>
</idml2xml:hub>

idml2xml:modify

Import

<p:import href="http://transpect.io/idml2xml/xpl/idml_modify/idml_modify.xpl"/>

Dependencies

Synopsis

<idml2xml:modify xmlns:idml2xml="http://transpect.io/idml2xml">
  <p:input port="xslt"/>
  <p:input port="xpl"/>
  <p:input port="params" primary="true"/>
  <p:input port="external-sources" sequence="true"/>
  <p:input port="options"/>
  <p:output port="result" primary="true"/>
  <p:output port="modified-idml"/>
  <p:option name="idmlfile" required="true"/>
  <p:option name="debug" required="false" select="'no'"/>
  <p:option name="debug-dir-uri" required="false" select="resolve-uri('debug')"/>
  <p:option name="idml-target-uri" required="false" select="''"/>
  <p:option name="srcpaths" required="false" select="'no'"/>
  <p:option name="hub-version" required="false" select="'1.2'"/>
  <p:option name="status-dir-uri" required="false" select="'status'"/>
  <p:option name="disable-images" required="false" select="'no'"/>
</idml2xml:modify>

idml2xml:single-doc

Import

<p:import href="http://transpect.io/idml2xml/xpl/idml_single-doc.xpl"/>

Dependencies

Synopsis

<idml2xml:single-doc xmlns:idml2xml="http://transpect.io/idml2xml">
  <p:input port="xslt-stylesheet"/>
  <p:output port="result" primary="true"/>
  <p:output port="zip-manifest"/>
  <p:output port="xslt-params"/>
  <p:output port="report" sequence="true"/>
  <p:option name="idmlfile"/>
  <p:option name="hub-version" required="false" select="'1.2'"/>
  <p:option name="srcpaths" required="false" select="'no'"/>
  <p:option name="all-styles" required="false" select="'no'"/>
  <p:option name="discard-tagging" required="false" select="'no'"/>
  <p:option name="process-embedded-images" required="false" select="'yes'"/>
  <p:option name="preserve-original-image-refs" required="false" select="'no'"/>
  <p:option name="hub-other-elementnames-whitelist" required="false" select="''"/>
  <p:option name="output-items-not-on-workspace" required="false" select="'no'"/>
  <p:option name="debug" required="false" select="'no'"/>
  <p:option name="debug-dir-uri" required="false" select="'debug'"/>
  <p:option name="status-dir-uri" required="false" select="'debug/status'"/>
  <p:option name="fail-on-error" select="'no'"/>
</idml2xml:single-doc>

idml2xml:single2tagged

Import

<p:import href="http://transpect.io/idml2xml/xpl/idml_single2tagged.xpl"/>

Dependencies

Synopsis

<idml2xml:single2tagged xmlns:idml2xml="http://transpect.io/idml2xml">
  <p:input port="source" primary="true"/>
  <p:input port="xslt-stylesheet"/>
  <p:input port="xslt-params"/>
  <p:output port="report" sequence="true"/>
  <p:output port="result" primary="true"/>
  <p:output port="DocumentStoriesSorted"/>
  <p:output port="GenerateTagging"/>
  <p:output port="ExtractTagging"/>
  <p:output port="AutoCorrect"/>
  <p:option name="debug" required="false" select="'no'"/>
  <p:option name="debug-dir-uri" required="false" select="resolve-uri('debug')"/>
  <p:option name="fail-on-error" select="'yes'"/>
</idml2xml:single2tagged>

idml2xml:tagged2hub

Import

<p:import href="http://transpect.io/idml2xml/xpl/idml_tagged2hub.xpl"/>

Dependencies

Synopsis

<idml2xml:tagged2hub xmlns:idml2xml="http://transpect.io/idml2xml">
  <p:input port="source" primary="true"/>
  <p:input port="xslt-stylesheet"/>
  <p:input port="xslt-params"/>
  <p:output port="report" sequence="true"/>
  <p:output port="result" primary="true"/>
  <p:option name="debug" required="false" select="'no'"/>
  <p:option name="debug-dir-uri" required="false" select="resolve-uri('debug')"/>
  <p:option name="fail-on-error" required="false" select="'yes'"/>
  <p:option name="hub-version" required="false" select="'1.2'"/>
  <p:option name="process-embedded-images" required="false" select="'yes'"/>
</idml2xml:tagged2hub>

GitHub sync date: 2017-07-06+02:00