[oXygen-user] [OXYGEN-8414] Refactoring functionality

Oxygen XML Editor Support (Radu Coravu) support at oxygenxml.com
Mon Sep 18 23:43:13 CDT 2023


Hello Judith,

Please see some answers below:

> A somewhat related question. When I export xml files from Eclipse, 
> this ‘ixia_locid’ attribute is added to certain elements. Is there a 
> way to add this ‘personalised’ attribute to the attribute list? Then I 
> won’t get these errors (hopefully).
>
This attribute is not part of the DITA specification, so Oxygen is right 
in flagging it as valid.

 From what I remember when opening the same files with Oxygen in the 
Ixiasoft environment they use our APIs to tell Oxygen to skip showing 
certain validation errors. There is an example about how such a plugin 
for Oxygen can be built here:

https://github.com/oxygenxml/wsaccess-javascript-sample-plugins/tree/master/validationProblemsFilter

But unfortunately there is no user-friendly setting to precisely skip 
this error.

> Also, do you have more information on this Schematron custom 
> validation check? Then I can discuss with my colleagues if it’s 
> something we can use and implement.
>
Usually if you were working with Oxygen desktop (without the Ixiasoft 
integration) and wanted to add custom Schematron rules I would suggest 
this article:

https://blog.oxygenxml.com/topics/sharing_schematron_validation_rules.html

As you are working with Ixiasoft, I think they might also have some 
material about how to customize the DITA XML framework configuration and 
then how to deliver it to all users.

Hope this helps!

Regards,

Radu

Radu Coravu
Oxygen XML Editor

On 9/18/23 16:49, Oudkerk, Judith wrote:
> 
>
> Hi Radu,
>
> Thanks for your quick answer. I tested it on the Desktop application, 
> and it works.
>
> A somewhat related question. When I export xml files from Eclipse, 
> this ‘ixia_locid’ attribute is added to certain elements. Is there a 
> way to add this ‘personalised’ attribute to the attribute list? Then I 
> won’t get these errors (hopefully).
>
> Also, do you have more information on this Schematron custom 
> validation check? Then I can discuss with my colleagues if it’s 
> something we can use and implement.
>
> Thanks very much!
>
> Kind regards,
>
> Judith
>
> Judith Oudkerk​
>
> 	
>  |
>
> 	
> Technical Writer
>
> ELEKTA | Nucletron
>
> P.O. Box 930,
>
> 	
> 3900 AX,
>
> 	
> Veenendaal,
>
> 	
> The Netherlands
>
> Visiting Address:
>
> 	
> Waardgelder 1, 3905 TH Veenendaal
>
> Judith.Oudkerk at elekta.com
>
> 	
>  |
>
> 	
> www.elekta.com <https://www.elekta.com/>
>
> Nucletron B.V., registered 2730 3235
> ​Nucletron Operations B.V., registered 30129540​
>
> 	
>
> This message is confidential and may be legally privileged or 
> otherwise protected from disclosure. ​If you are not the intended 
> recipient, please telephone or email the sender and delete this 
> message ​and any attachment from your system; you must not copy or 
> disclose the contents of this message ​or any attachment to any other 
> person.
> Any views expressed in this message are those of the individual 
> sender, except where the sender specifies ​and with authority, states 
> them to be the views of Elekta. Elekta may monitor email traffic data.
>
> *
> *
>
> *
>
> Restricted Information and Basic Personal Data
>
> From:* oXygen-user <oxygen-user-bounces at oxygenxml.com> *On Behalf Of 
> *Oxygen XML Editor Support (Radu Coravu)
> *Sent:* maandag 18 september 2023 12:17
> *To:* oxygen-user at oxygenxml.com
> *Subject:* Re: [oXygen-user] [OXYGEN-8414] Refactoring functionality
>
> Hello Judith,
>
> Oxygen has the ability to create custom XML refactoring actions based 
> on XSLT or XQuery and to apply such actions on multiple files from the 
> local disk. We also have a predefined "Wrap element content" XML 
> refactor action which would probably help in this case:
>
> https://www.oxygenxml.com/doc/versions/25.1/ug-editor/topics/predefined-refactoring-operations-x-tools.html#predefined-refactoring-operations__dlentry_ud1_cgk_54b
>
> But unfortunately as the files are on the Ixiasoft CMS our XML 
> refactoring actions cannot run over the files from the Ixiasoft 
> storage. If for example you export the project to the local disk you 
> could use the Oxygen desktop application's "XML Refactoring" tool.
>
> I think you should also consider adding a Schematron custom validation 
> check in your Oxygen DITA framework customization to report such 
> problems so that people will be notified when they insert text in 
> cells without wrapping it in pargraphs.
>
> Regards,
>
> Radu
>
> Radu Coravu
> Oxygen XML Editor
>
>
> Restricted Information and Basic Personal Data
>
> On 9/18/23 12:55, Oudkerk, Judith wrote:
>
>     Hello,
>
>     I was wondering if you can use the refactoring functionality do
>     the following:
>
>     Replace all <entry>TEXT</entry> elements with
>     <entry><p>TEXT</p></entry>. In other words, add a <p> element to
>     all entry elements that already contain text (without a <p> element).
>
>     I’m using Oxygen XML with Eclipse (and the Ixiasoft CCMS Web 6.3
>     version).
>
>     I’ve been looking into the refactoring functionality, but I can’t
>     find a way to do this.
>
>     Thanks in advance for your help.
>
>     Kind regards,
>
>     Judith
>
>     Restricted Information and Basic Personal Data
>
>     *Judith Oudkerk**​***
>
>     	
>
>      |
>
>     	
>
>     Technical Writer
>
>     ELEKTA | Nucletron
>
>     P.O. Box 930,
>
>     	
>
>     3900 AX,
>
>     	
>
>     Veenendaal,
>
>     	
>
>     The Netherlands
>
>     Visiting Address:
>
>     	
>
>     Waardgelder 1, 3905 TH Veenendaal
>
>     Judith.Oudkerk at elekta.com <mailto:Judith.Oudkerk at elekta.com>
>
>     	
>
>      |
>
>     	
>
>     www.elekta.com <https://www.elekta.com/>
>
>     Nucletron B.V., registered 2730 3235
>     ​Nucletron Operations B.V., registered 30129540​
>
>     	
>
>     This message is confidential and may be legally privileged or
>     otherwise protected from disclosure. ​If you are not the intended
>     recipient, please telephone or email the sender and delete this
>     message ​and any attachment from your system; you must not copy or
>     disclose the contents of this message ​or any attachment to any
>     other person.
>     Any views expressed in this message are those of the individual
>     sender, except where the sender specifies ​and with authority,
>     states them to be the views of Elekta. Elekta may monitor email
>     traffic data.
>
>     Restricted Information and Basic Personal Data
>
>
>
>     _______________________________________________
>
>     oXygen-user mailing list
>
>     oXygen-user at oxygenxml.com
>
>     https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230919/9e4b1721/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 13001 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230919/9e4b1721/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image774136.png
Type: image/png
Size: 16895 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230919/9e4b1721/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 16895 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230919/9e4b1721/attachment-0005.png>


More information about the oXygen-user mailing list