Page 1 of 1

Schematron Quick fix to add two elements

Posted: Tue Aug 17, 2021 3:06 pm
by Srinarayan
Hi Team,


We are creating a schematron quick fix for version 6.3 , for that we need to add two elements with a single quick fix i.e
" <subjectdef keys="audience">
<subjectdef keys=""/>
</subjectdef> "

Can you please let us know is their any way to add two elements with a single quick fix ?

Regards,
Srinarayan

Re: Schematron Quick fix to add two elements

Posted: Thu Aug 19, 2021 10:11 am
by tavy
Hello Srinarayan,

You can do this using the "sqf:add" operation, by specifying the XML fragment directly in the add element. Something like this:

Code: Select all

<sqf:add>
    <subjectdef keys="audience">
        <subjectdef keys=""/>
    </subjectdef>
</sqf:add>
You can find more details about the add operation in our user manual:
https://www.oxygenxml.com/doc/versions/ ... 3h_cgk_54b

There are also some examples available in our user manual:
https://www.oxygenxml.com/doc/versions/ ... aid-title3

I don't know what do you mean by version 6.3, in Oxygen version 6.3 the Schematron quick fix support is not available.

Best Regards,
Octavian