deltaxml compare wbw base.xml revised.xml delta-1-2-3.xml word-by-word=true convert-to-html=false
Now any idea,how I can add -ignore switch to the same command without removing the wbw switch.
I am assuming from this that you are using the word-by-word.dxp in the samples/WordByWord directory.
Therefore you need to add a parameter to the DXP file (this is documented here [ http://www.deltaxml.com/products/core/docs/guide-to-dxp.html ]), by editing it as follows.
First add
inside <pipelineParameters>, so now it looks like this:
<booleanParametername="punctuation" defaultValue="false" />
<booleanParametername="word-by-word" defaultValue="false" />
<booleanParametername="space-fixup" defaultValue="false" />
<booleanParametername="orphaned-words" defaultValue="false" />
<booleanParametername="convert-to-html" defaultValue="true" />
<booleanParametername="processPreserveSpaceTextValue" defaultValue="true" />
<stringParametername="orphan-length" defaultValue="2" />
<stringParametername="orphan-threshold" defaultValue="20" />
</pipelineParameters>
Then change the word-by-word input filter lines in the DXP file to this:
<classname="com.deltaxml.pipe.filters.dx2.wbw.WordInfilter" />
<parametername="processPreserveSpaceText" parameterRef="processPreserveSpaceTextValue" />
</filter>
Then from the command line you can provide a value for the parameter if you do not want the default value of true, for example:
deltaxml compare wbw base.xml revised.xml delta-1-2-3.xml word-by-word=true convert-to-html=false processPreserveSpaceTextValue=false
I hope this answers your question.
Robin
