Search found 6 matches

by proxx
Mon Mar 13, 2017 3:01 pm
Forum: Other Issues
Topic: Custom refactoring - creating an output file
Replies: 3
Views: 2238

Re: Custom refactoring - creating an output file

Hi Radu, Thanks for your advice. Yes, iterating using document() or doc() functions was my initial approach, but it seems pretty cumbersome to implement with XSL. Especially that topics can live on different levels in the document tree. That's why I thought about utilizing Oxygen's search engine ove...
by proxx
Mon Mar 13, 2017 2:12 pm
Forum: Other Issues
Topic: Custom refactoring - creating an output file
Replies: 3
Views: 2238

Custom refactoring - creating an output file

Is it possible to use XML Refactoring Tool to run a XSL script that creates a new output file instead of refactoring files in the ditamap hierarchy? I know that this is not a real purpose of the Refactoring Tool, but it would be a useful addition. I would like to iterate over files in the ditamap he...
by proxx
Wed Jul 13, 2016 7:50 pm
Forum: XSLT and FOP
Topic: Schematron sqf:stringReplace case-insensitive
Replies: 5
Views: 4608

Re: Schematron sqf:stringReplace case-insensitive

Hello Octavian,

Thank you! Your workaround works good.

Take care,
Wojtek
by proxx
Mon Jul 11, 2016 2:05 pm
Forum: XSLT and FOP
Topic: Schematron sqf:stringReplace case-insensitive
Replies: 5
Views: 4608

Re: Schematron sqf:stringReplace case-insensitive

Hi xephon, Thank you for the reply. You are right that I am looking for a sort of terminology checker. I have an XSL script that builds a schematron term checker based on multiple (around 300) glossentry topics kept in separate files. The main purpose of the schematron is to inform the user to use a...
by proxx
Fri Jul 08, 2016 4:08 pm
Forum: XSLT and FOP
Topic: Schematron sqf:stringReplace case-insensitive
Replies: 5
Views: 4608

Schematron sqf:stringReplace case-insensitive

Hello, I have created a schematron rule that searches for a particular text given by a variable in a case-insensitive manner (provided by "i" flag): <sch:report test="matches(.,concat('(^|\W)',$phrase,'(\W|$)'),'i')" role="error" sqf:fix="replaceWithKey">...</...
by proxx
Wed Dec 16, 2015 4:20 pm
Forum: XQuery
Topic: XQuery collection() function on Web Dav server
Replies: 5
Views: 7262

XQuery collection() function on Web Dav server

I am using Oxygen XML Editor 17.0 (Saxon XQuery 9.6.0.5). Recently I have created a very basic XQuery code to perform some statistic measurements over the XML files on Web Dav server. Let's say I just want to count the number of .xml files in one directory. I added the XQuery file to the location wh...