Name
cxu:compare — XML Unit comparison of two documents.
Synopsis
<p:declare-step
type
="
cxu:compare
"
xmlns:cxu
="
http://xmlcalabash.com/ns/extensions/xmlunit
"
>
<p:input
port
="
source
"
primary
="
true
"
/>
<p:input
port
="
alternate
"
/>
<p:output
port
="
result
"
primary
="
false
"
/>
<p:option
name
="
compare-unmatched
"
select
="
'false'
"
/>
<!--
boolean -->
<p:option
name
="
ignore-comments
"
select
="
'false'
"
/>
<!--
boolean -->
<p:option
name
="
ignore-diff-between-text-and-cdata
"
select
="
'false'
"
/>
<!--
boolean -->
<p:option
name
="
ignore-whitespace
"
select
="
'false'
"
/>
<!--
boolean -->
<p:option
name
="
normalize
"
select
="
'false'
"
/>
<!--
boolean -->
<p:option
name
="
normalize-whitespace
"
select
="
'false'
"
/>
<!--
boolean -->
<p:option
name
="
fail-if-not-equal
"
select
="
'false'
"
/>
<!--
boolean -->
</p:declare-step>
Description
TBD.
Implementation
This step is implemented by the xmlcalabash1-xmlunit module. The jar file from that project must be in the class path in order to use this step.