calabash-frontend

Bash and .bat scripts, frequently used extensions, XML catalog for XML Calabash

Repository
Git URL https://github.com/transpect/calabash-frontend.git
SVN URL https://github.com/transpect/calabash-frontend
Base URI

Source ⬇

cx:nvdl

Synopsis

<cx:nvdl xmlns:cx="http://xmlcalabash.com/ns/extensions">
  <p:input port="source" primary="true"/>
  <p:input port="nvdl"/>
  <p:input port="schemas" sequence="true"/>
  <p:output port="result"/>
  <p:option name="assert-valid" select="'true'"/>
</cx:nvdl>

cx:metadata-extractor

Synopsis

<cx:metadata-extractor xmlns:cx="http://xmlcalabash.com/ns/extensions">
  <p:output port="result"/>
  <p:option name="href" required="true"/>
</cx:metadata-extractor>

cx:unzip

Synopsis

<cx:unzip xmlns:cx="http://xmlcalabash.com/ns/extensions">
  <p:output port="result"/>
  <p:option name="href" required="true"/>
  <p:option name="file"/>
  <p:option name="content-type"/>
</cx:unzip>

cx:zip

Synopsis

<cx:zip xmlns:cx="http://xmlcalabash.com/ns/extensions">
  <p:input port="source" sequence="true" primary="true"/>
  <p:input port="manifest"/>
  <p:output port="result"/>
  <p:option name="href" required="true"/>
  <p:option name="compression-method"/>
  <p:option name="compression-level"/>
  <p:option name="command" select="'update'"/>
  <p:option name="byte-order-mark"/>
  <p:option name="cdata-section-elements" select="''"/>
  <p:option name="doctype-public"/>
  <p:option name="doctype-system"/>
  <p:option name="encoding"/>
  <p:option name="escape-uri-attributes" select="'false'"/>
  <p:option name="include-content-type" select="'true'"/>
  <p:option name="indent" select="'false'"/>
  <p:option name="media-type"/>
  <p:option name="method" select="'xml'"/>
  <p:option name="normalization-form" select="'none'"/>
  <p:option name="omit-xml-declaration" select="'true'"/>
  <p:option name="standalone" select="'omit'"/>
  <p:option name="undeclare-prefixes"/>
  <p:option name="version" select="'1.0'"/>
</cx:zip>

cx:delta-xml

Synopsis

<cx:delta-xml xmlns:cx="http://xmlcalabash.com/ns/extensions">
  <p:input port="source"/>
  <p:input port="alternate"/>
  <p:input port="dxp"/>
  <p:output port="result"/>
</cx:delta-xml>

cx:message

Synopsis

<cx:message xmlns:cx="http://xmlcalabash.com/ns/extensions">
  <p:input port="source"/>
  <p:output port="result"/>
  <p:option name="message" required="true"/>
</cx:message>

cx:collection-manager

Synopsis

<cx:collection-manager xmlns:cx="http://xmlcalabash.com/ns/extensions">
  <p:input port="source" sequence="true"/>
  <p:output port="result" sequence="true" primary="false"/>
  <p:option name="href" required="true"/>
</cx:collection-manager>

ml:adhoc-query

Synopsis

<ml:adhoc-query xmlns:ml="http://xmlcalabash.com/ns/extensions/marklogic">
  <p:input port="source" sequence="true" primary="true"/>
  <p:input port="parameters"/>
  <p:output port="result" sequence="true"/>
  <p:option name="host"/>
  <p:option name="port"/>
  <p:option name="user"/>
  <p:option name="password"/>
  <p:option name="content-base"/>
  <p:option name="wrapper"/>
</ml:adhoc-query>

ml:invoke-module

Synopsis

<ml:invoke-module xmlns:ml="http://xmlcalabash.com/ns/extensions/marklogic">
  <p:input port="parameters"/>
  <p:output port="result" sequence="true"/>
  <p:option name="module" required="true"/>
  <p:option name="host"/>
  <p:option name="port"/>
  <p:option name="user"/>
  <p:option name="password"/>
  <p:option name="content-base"/>
  <p:option name="wrapper"/>
</ml:invoke-module>

ml:insert-document

Synopsis

<ml:insert-document xmlns:ml="http://xmlcalabash.com/ns/extensions/marklogic">
  <p:input port="source"/>
  <p:output port="result" primary="false"/>
  <p:option name="host"/>
  <p:option name="port"/>
  <p:option name="user"/>
  <p:option name="password"/>
  <p:option name="content-base"/>
  <p:option name="uri" required="true"/>
  <p:option name="buffer-size"/>
  <p:option name="collections"/>
  <p:option name="format"/>
  <p:option name="language"/>
  <p:option name="locale"/>
</ml:insert-document>

tr:svrl2txt

Synopsis

<tr:svrl2txt xmlns:tr="http://transpect.io">
  <p:input port="source" primary="true"/>
  <p:input port="rendering-xslt"/>
  <p:output port="result" primary="true"/>
</tr:svrl2txt>

tr:xsd-sch-xsl

Synopsis

<tr:xsd-sch-xsl xmlns:tr="http://transpect.io">
  <p:input port="source" primary="true"/>
  <p:input port="xsd"/>
  <p:input port="sch"/>
  <p:input port="xsl"/>
  <p:output port="result" primary="true"/>
  <p:output port="report"/>
  <p:output port="text-report"/>
  <p:option name="fail-on-error" select="'false'"/>
</tr:xsd-sch-xsl>

tr:validate-with-xsd

Synopsis

<tr:validate-with-xsd xmlns:tr="http://transpect.io">
  <p:input port="source" primary="true"/>
  <p:input port="schema" sequence="true"/>
  <p:output port="report" primary="true"/>
  <p:option name="use-location-hints" select="'true'"/>
  <p:option name="fail-on-error" select="'true'"/>
</tr:validate-with-xsd>

GitHub sync date: 2024-04-23+02:00