Calling Quick fix multiple times on one click
Oxygen general issues.
-
- Posts: 42
- Joined: Tue Jun 08, 2021 3:27 pm
Calling Quick fix multiple times on one click
Post by Srinarayan »
Hi team,
I am writing a rule with quick fix in schematron to wrap the text in an element into p tag. But if there is a mix of PCDATA and tags, I want all the text part to be wrapped in p tag on one click. Is it possible to call quick fix code multiple times on one click by looping or any other mechanism?
Regards
Srinarayan
I am writing a rule with quick fix in schematron to wrap the text in an element into p tag. But if there is a mix of PCDATA and tags, I want all the text part to be wrapped in p tag on one click. Is it possible to call quick fix code multiple times on one click by looping or any other mechanism?
Regards
Srinarayan
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: Calling Quick fix multiple times on one click
Hello Srinarayan,
Probably you can use the "sqf:replace" operation to do this, by matching all the text nodes that you want to wrap.
In order to help you I need an example to understand better what you want to achieve and how your structure looks like. Maybe you can send me a sample XML file and the Schematron rule with the quick fix that you have now.
Best Regards,
Octavian
Probably you can use the "sqf:replace" operation to do this, by matching all the text nodes that you want to wrap.
In order to help you I need an example to understand better what you want to achieve and how your structure looks like. Maybe you can send me a sample XML file and the Schematron rule with the quick fix that you have now.
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