Schematron Quick fix to add two elements
Oxygen general issues.
-
- Posts: 42
- Joined: Tue Jun 08, 2021 3:27 pm
Schematron Quick fix to add two elements
Post 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
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
Hello Srinarayan,
You can do this using the "sqf:add" operation, by specifying the XML fragment directly in the add element. Something like this:
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
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>
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
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service