<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Franz-Josef,</p>
<p>So:</p>
<p>
<blockquote type="cite"><span style="font-size:11.0pt"
lang="EN-US">oXygen changes the 1<sup>st</sup> angle bracket
of “<project folder>” to “<project folder>” to
save the structure.</span></blockquote>
If inside text content you leave a "<", the entire XML becomes
not wellformed. So this is why Oxygen escapes it to <<br>
<blockquote type="cite">
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">In
Author mode, you don’t realize this, only when trying to
Search&Replace <installation folder> with
<program folder> you don’t find all occurences and
wonder why.</span></p>
</blockquote>
Yes, for Find/Replace in Files you would need to search using
"<". But any XML-aware processor (like XSLT) will "see"
that "<" as the "<" character.<br>
<blockquote type="cite">
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">I
see that this has to be changed by oXygen.</span></p>
</blockquote>
This cannot be helped, Oxygen needs to keep your XML document
wellformed.<br>
<blockquote type="cite">
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Is
there some advice / best practice to deal with this kind of
source text? At the moment, I can only think of putting this
“variable” in a <varname> element inside
<filepath> without writing the angle brackets and
defining a CSS rule for /filepath/varname to surround it
with brackets in the output.</span></p>
</blockquote>
</p>
<p>This could indeed work or you could stick to what you are
currently doing and let Oxygen escape the "<" as it currently
does.<br>
</p>
<p><br>
Regards,</p>
<p>Radu<br>
</p>
<pre class="moz-signature" cols="72">
Radu Coravu
Oxygen XML Editor</pre>
<br>
<div class="moz-cite-prefix">On 4/25/18 7:00 PM, Franz-Josef
Knelangen wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5700A9E9-520C-4E4A-B2AD-4E38C7556F47@akgsoftware.de">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Hi
there,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">In
our documentation we use something like <installation
folder> or <project folder> and put these into file
paths, f. e.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><project
folder>\pipe\sewer.s3db<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">If
I surround this with <filepath> markup, oXygen changes
the 1<sup>st</sup> angle bracket of “<project folder>”
to “<project folder>” to save the structure.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">In
Author mode, you don’t realize this, only when trying to
Search&Replace <installation folder> with
<program folder> you don’t find all occurences and
wonder why.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">I
see that this has to be changed by oXygen.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Is
there some advice / best practice to deal with this kind of
source text? At the moment, I can only think of putting this
“variable” in a <varname> element inside
<filepath> without writing the angle brackets and
defining a CSS rule for /filepath/varname to surround it
with brackets in the output.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Any
other ideas?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">TIA
and Greetings from Germany,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Franz-Josef<o:p></o:p></span></p>
</div>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: ARIAL"><br>
</p>
<hr>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: ARIAL"><b><font
face="Arial" size="3" color="#006600">AKG Software</font> <font
color="#727272"><span style="FONT-SIZE: 12pt">Consulting
GmbH</span></font><br>
<font face="Arial" size="3" color="#000000"> Franz-Josef
Knelangen</font></b><br>
<br>
<br>
<font face="Arial" size="2" color="#7f7f7f">Uhlandstraße 12<br>
79423 Heitersheim<br>
Germany</font><br>
<br>
<font face="Arial" size="2" color="#7f7f7f">Tel.: +49 (0)7634
5612-611<br>
Fax: +49 (0)7634 5612-300<br>
E-Mail: <u><a class="moz-txt-link-abbreviated" href="mailto:fjk@akgsoftware.de">fjk@akgsoftware.de</a></u> <br>
Internet: <a href="http://www.akgsoftware.de"
moz-do-not-send="true">www.akgsoftware.de</a></font><br>
<br>
<font face="Arial" size="2" color="#7f7f7f">Geschäftsführer:
Dipl.-Ing. Artur K. Günther, Dipl.-Ing. Arno Brüggemann,
Dipl.-Ing. (FH) Bernhard Feser, Dipl.-Ing. Jens Günther <br>
Sitz der Gesellschaft: Heitersheim, HRB 310383 (Amtsgericht
Freiburg)</font><br>
<br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
</body>
</html>