REM signs a XML document (or part of one)
REM you need to add 'empty' signature templates to your XML
REM I suggest you use envoloped.templ for single documents
REM and enveloping for parts of documents

java TemplateSign xml-cml chimeral xml-cmlpw sig.xml > complete_sig.xml 