<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 9/26/2021 10:27 AM, Hilaire Fernandes via Cuis-dev wrote:
    <blockquote cite="mid:c414afc1-a401-3fdf-7a3c-673fff3427ce@drgeo.eu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p><font size="+1">Hi Nicolas, <br>
        </font></p>
      <p><font size="+1">I can read most of DrGeo xml files, only xml
          entity like &#13; (carriage return I guess) and &#9;
          (tabulation) are not translated and kept as is when I read the
          file.<br>
        </font></p>
      <p>Hilaire<br>
      </p>
      <div class="moz-cite-prefix">Le 26/09/2021 à 10:57, Nicola
        Mingotti a écrit :<br>
      </div>
      <blockquote type="cite"
cite="mid:CAG5qL5SxS0-6n9sVyQOQyq3Z7paSy46ZRZa6Q=yLbU9GTO36eg@mail.gmail.com">
        <div dir="auto">i was parsing successfully a libreoffice file
          with YAXO. </div>
      </blockquote>
      <pre class="moz-signature" cols="72">-- 
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
    </blockquote>
    <br>
    It looks like the attached works. Test adding #withCuisLineEndings,
    so that CR characters from Pharo are converted to LF:<br>
    <br>
    | doc |<br>
    doc _ XMLDOMParser parseDocumentFrom:  'Curve and slope.fgeo'
    asFileEntry readStream.<br>
    ((doc elementAt: #drgenius) firstTagNamed: #code) contentString
    withCuisLineEndings.<br>
    <br>
    I don't know the XML spec in full detail, but it looks like the
    conversions in the attach are needed. Anyone knows better?<br>
    <br>
    Thanks,<br>
    <pre class="moz-signature" cols="72">-- 
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
  </body>
</html>