[oXygen-user] Non-breaking spaces in fragments via framework

Christian Achter christian.achter at germ.unibe.ch
Thu Dec 5 09:39:00 CST 2019


Dear mailinglist members,

this might be a trivial problem, but even after a longer research I 
haven't found a solution to it. I try to insert a non-breaking space via 
a button created by a framework.

I use the following code within an <action>:

     <actionMode>
         <field name="xpathCondition">
             <String></String>
         </field>
         <field name="argValues">
             <serializableOrderedMap>
                 <entry>
                     <String>text</String>
*<String>{CODE_FOR_THE_NON-BREAKING_SPACE}</String>*
                 </entry>
             </serializableOrderedMap>
         </field>
         <field name="operationID">
<String>ro.sync.ecss.extensions.commons.operations.InsertOrReplaceTextOperation</String>
         </field>
     </actionMode>

I added a placeholder CODE_FOR_THE_NON-BREAKING_SPACE above to show you 
were I want to fill in my non-breaking space.

I tried   which caused my whole framework to NOT be read by Oxygen 
XML Author.
I tried   which just created a regular space.
I tried &#160; which just created exactly these characters as a 
string in my XML document.
I tried several other things which all didn't work.

What do I have to put between my opening and closing <String> tags?

Thanks in advance and kind regards
Christian Achter



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20191205/89d24016/attachment.html>


More information about the oXygen-user mailing list