<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Muchísimas gracias Martín.-<br>
      <br>
      Abrazo<br>
      Pedro<br>
      <br>
      El 19/11/2014 15:16, Martin Gomez escribió:<br>
    </div>
    <blockquote
cite="mid:CAFGJXk3w9HqhZkMcnBF1vY1q_OVp3m=rSfXcT7URpD5OKgK8Pw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default" style="font-family:tahoma,sans-serif">Había
          mandado esto pero no pasó por el adjunto:</div>
        <div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
        </div>
        <div class="gmail_default" style="font-family:tahoma,sans-serif">El
          adjunto lo subí a mi google drive y lo podes sacar de acá: <a
            moz-do-not-send="true"
href="https://drive.google.com/file/d/0B2M_jJSbBbqvZktOVkd6QkoyMmRZNnEtc1pKUDh5NmFFamUw/view?usp=sharing">https://drive.google.com/file/d/0B2M_jJSbBbqvZktOVkd6QkoyMmRZNnEtc1pKUDh5NmFFamUw/view?usp=sharing</a></div>
        <div class="gmail_default" style="font-family:tahoma,sans-serif">--</div>
        <div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
        </div>
        <div class="gmail_default" style="font-family:tahoma,sans-serif">
          <div class="gmail_default"
            style="font-size:12.800000190734863px">te recomiendo
            arrancar por acá:</div>
          <div class="gmail_default"
            style="font-family:arial,sans-serif;font-size:12.800000190734863px"><font
              face="tahoma, sans-serif"><br>
            </font></div>
          <div class="gmail_default"
            style="font-family:arial,sans-serif;font-size:12.800000190734863px"><font
              face="tahoma, sans-serif"><a moz-do-not-send="true"
                href="http://wiki.lazarus.freepascal.org/XML_Tutorial"
                target="_blank">http://wiki.lazarus.freepascal.org/XML_Tutorial</a></font><br>
          </div>
          <div class="gmail_default"
            style="font-family:arial,sans-serif;font-size:12.800000190734863px"><font
              face="tahoma, sans-serif"><a moz-do-not-send="true"
                href="http://saxforpascal.sourceforge.net/"
                target="_blank">http://saxforpascal.sourceforge.net/</a><br>
            </font></div>
          <div class="gmail_default"
            style="font-family:arial,sans-serif;font-size:12.800000190734863px"><font
              face="tahoma, sans-serif"><br>
            </font></div>
          <div class="gmail_default"
            style="font-family:arial,sans-serif;font-size:12.800000190734863px"><span
              style="font-family:tahoma,sans-serif">Los componentes para
              leer XML que uso yo (SAX) <i>CREO</i> que son los que
              vienen con FreePascal. En cuanto pueda me fijo y comento.</span><br>
          </div>
          <div class="gmail_default"
            style="font-family:arial,sans-serif;font-size:12.800000190734863px"><font
              face="tahoma, sans-serif"><br>
            </font></div>
          <div class="gmail_default"
            style="font-family:arial,sans-serif;font-size:12.800000190734863px"><font
              face="tahoma, sans-serif">Te adjunto una prueba de una
              interfaz que hice hace un tiempo, esta es la parte de
              lectura, intenté hacerla bastante "objetos", está
              funcionando hace un par de años sin ningún problema.</font></div>
          <div class="gmail_default"
            style="font-family:arial,sans-serif;font-size:12.800000190734863px"><font
              face="tahoma, sans-serif">La escritura la hago con DOM
              (create document, create node, create child, etc.), de eso
              hay documentación a rolete.</font></div>
          <div class="gmail_default"
            style="font-family:arial,sans-serif;font-size:12.800000190734863px"><font
              face="tahoma, sans-serif"><br>
            </font></div>
          <div class="gmail_default"
            style="font-family:arial,sans-serif;font-size:12.800000190734863px"><font
              face="tahoma, sans-serif">Suerte!</font></div>
          <div class="gmail_default"
            style="font-family:arial,sans-serif;font-size:12.800000190734863px"><font
              face="tahoma, sans-serif"><br>
            </font></div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2014-11-17 19:51 GMT-03:00 christian
          Ortiz <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:xortix@gmail.com" target="_blank">xortix@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">viste?<br>
              <br>
              <a moz-do-not-send="true"
                href="http://wiki.lazarus.freepascal.org/XML_Tutorial/es"
                target="_blank">http://wiki.lazarus.freepascal.org/XML_Tutorial/es</a><br>
            </div>
            <div class="gmail_extra"><br>
              <div class="gmail_quote">El 17 de noviembre de 2014,
                15:32, Maxi <span dir="ltr"><<a
                    moz-do-not-send="true"
                    href="mailto:maximiliano.duarte@gmail.com"
                    target="_blank">maximiliano.duarte@gmail.com</a>></span>
                escribió:
                <div>
                  <div class="h5"><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr"><br>
                        <div class="gmail_extra"><br>
                          <div class="gmail_quote">El 17 de noviembre de
                            2014, 17:11, Pedro Hernandez <span
                              dir="ltr"><<a moz-do-not-send="true"
                                href="mailto:pedro@phsoft.com.uy"
                                target="_blank">pedro@phsoft.com.uy</a>></span>
                            escribió:
                            <div>
                              <div><br>
                                <blockquote class="gmail_quote"
                                  style="margin:0px 0px 0px
                                  0.8ex;border-left:1px solid
                                  rgb(204,204,204);padding-left:1ex">
                                  <div text="#000000" bgcolor="#FFFFFF">
                                    <div>Muchas gracias a todos.-<br>
                                      Es para Uruguay, pero no para
                                      realizar una facturación
                                      electrónica sino para una
                                      interfaz.-<br>
                                      <br>
                                      Saludos <br>
                                      Pedro<br>
                                      <br>
                                      El 17/11/2014 17:42, Martin Gomez
                                      escribió:<br>
                                    </div>
                                    <div>
                                      <div>
                                        <blockquote type="cite">
                                          <div dir="ltr">
                                            <div
                                              style="font-family:tahoma,sans-serif">XML

                                              Config no te va a servir
                                              para eso...  Usa una
                                              estructura bien rara,
                                              guardando los valores en
                                              atributos del nodo y no en
                                              el texto de cada nodo.</div>
                                            <div
                                              style="font-family:tahoma,sans-serif"><br>
                                            </div>
                                            <div
                                              style="font-family:tahoma,sans-serif">Para

                                              leer XML, si conoces el
                                              formato, lo más comodo
                                              (para un pascalero) es
                                              SAX. Definis eventos que
                                              el parser llama al abrir
                                              un nodo, al cerrarlo, al
                                              leer el texto interno, etc
                                              etc y vas construyendo tu
                                              objeto desde ahí.</div>
                                            <div
                                              style="font-family:tahoma,sans-serif"><br>
                                            </div>
                                            <div
                                              style="font-family:tahoma,sans-serif">La

                                              otra es hacerlo a mano con
                                              DOM y recorriendo el árbol
                                              a mano, pero es engorroso
                                              si nunca lo hiciste antes.</div>
                                            <div
                                              style="font-family:tahoma,sans-serif"><br>
                                            </div>
                                            <div
                                              style="font-family:tahoma,sans-serif">Ojala

                                              fuera tan sencillo como
                                              con el SimpleXML del php,
                                              que levantas un archivo y
                                              automaticamente es un
                                              objeto :)</div>
                                            <div
                                              style="font-family:tahoma,sans-serif"><br>
                                            </div>
                                          </div>
                                          <div class="gmail_extra"><br>
                                            <div class="gmail_quote">2014-11-17
                                              15:13 GMT-03:00 Maxi <span
                                                dir="ltr"><<a
                                                  moz-do-not-send="true"
href="mailto:maximiliano.duarte@gmail.com" target="_blank">maximiliano.duarte@gmail.com</a>></span>:<br>
                                              <blockquote
                                                class="gmail_quote"
                                                style="margin:0px 0px
                                                0px
                                                0.8ex;border-left:1px
                                                solid
                                                rgb(204,204,204);padding-left:1ex">El
                                                día 17 de noviembre de
                                                2014, 15:02, Pedro
                                                Hernandez<br>
                                                <<a
                                                  moz-do-not-send="true"
href="mailto:pedro@phsoft.com.uy" target="_blank">pedro@phsoft.com.uy</a>>

                                                escribió:<br>
                                                <div>
                                                  <div>> Hola a
                                                    todos, necesito para
                                                    la facturación
                                                    electrónica, leer y
                                                    cargar datos<br>
                                                    > en una
                                                    interfaces  xml,<br>
                                                    > El único
                                                    componente que veo 
                                                    para ello es
                                                    TXMLConfig, pero no
                                                    logro hacerlo<br>
                                                    > funcionar. Si
                                                    alguien tiene algún
                                                    ejemplo o<br>
                                                    > algún dato de
                                                    como hacerlo
                                                    agradezco la ayuda.-<br>
                                                    > Desde ya muchas
                                                    gracias.-<br>
                                                    ><br>
                                                    > Pedro<br>
                                                    ><br>
                                                    > --<br>
                                                    > A/S Pedro
                                                    Hernández Brandzen
                                                    1956 Of. 401 -
                                                    Montevideo - Uruguay
                                                    Tel. (598)<br>
                                                    > 24190208 * -
                                                    Cel. 098990947 mail:
                                                    <a
                                                      moz-do-not-send="true"
href="mailto:pedro@phsoft.com.uy" target="_blank">pedro@phsoft.com.uy</a>
                                                    web :<a
                                                      moz-do-not-send="true"
href="http://www.phsoft.com.uy" target="_blank">www.phsoft.com.uy</a><br>
                                                    ><br>
                                                    > ---<br>
                                                    > Este mensaje no
                                                    contiene virus ni
                                                    malware porque la
                                                    protección de avast!<br>
                                                    > Antivirus está
                                                    activa.<br>
                                                    > <a
                                                      moz-do-not-send="true"
href="http://www.avast.com" target="_blank">http://www.avast.com</a><br>
                                                    ><br>
                                                    ><br>
                                                    >
                                                    _______________________________________________<br>
                                                    > Lazarus-es
                                                    mailing list<br>
                                                    > <a
                                                      moz-do-not-send="true"
href="mailto:Lazarus-es@lists.lazarus.freepascal.org" target="_blank">Lazarus-es@lists.lazarus.freepascal.org</a><br>
                                                    > <a
                                                      moz-do-not-send="true"
href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es"
                                                      target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es</a><br>
                                                    <br>
                                                    <br>
                                                  </div>
                                                </div>
                                                De que pais necesitas?<br>
                                                <br>
                                                en argentina ya hay uno
                                                hecho con api lista para
                                                usar.<br>
                                                <span><font
                                                    color="#888888">--<br>
                                                    El que pregunta
                                                    aprende, y el que
                                                    contesta aprende a
                                                    responder.<br>
                                                    <br>
                                                    No a la obsolecencia
                                                    programada:<br>
                                                    <a
                                                      moz-do-not-send="true"
href="http://www.rtve.es/noticias/20110104/productos-consumo-duran-cada-vez-menos/392498.shtml"
                                                      target="_blank">http://www.rtve.es/noticias/20110104/productos-consumo-duran-cada-vez-menos/392498.shtml</a><br>
                                                    <br>
                                                    Linux User #495070<br>
                                                    <a
                                                      moz-do-not-send="true"
href="http://domonetic.com/blog" target="_blank">http://domonetic.com/blog</a><br>
                                                  </font></span>
                                                <div>
                                                  <div><br>
_______________________________________________<br>
                                                    Lazarus-es mailing
                                                    list<br>
                                                    <a
                                                      moz-do-not-send="true"
href="mailto:Lazarus-es@lists.lazarus.freepascal.org" target="_blank">Lazarus-es@lists.lazarus.freepascal.org</a><br>
                                                    <a
                                                      moz-do-not-send="true"
href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es"
                                                      target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es</a><br>
                                                  </div>
                                                </div>
                                              </blockquote>
                                            </div>
                                            <br>
                                            <br clear="all">
                                            <div><br>
                                            </div>
                                            -- <br>
                                            <div>
                                              <div dir="ltr"><span
                                                  style="font-size:small;font-family:tahoma,sans-serif">
                                                  <div
                                                    style="display:inline">​</div>
                                                </span><font
                                                  style="font-size:small"
                                                  face="tahoma,
                                                  sans-serif">Most good
                                                  programmers do
                                                  programming not
                                                  because they expect to
                                                  get paid or get
                                                  adulation by the
                                                  public, but because it
                                                  is fun to program.
                                                  <div
                                                    style="display:inline">​
                                                    ​</div>
                                                </font><i
                                                  style="font-size:small;font-family:tahoma,sans-serif">Linus

                                                  Torvalds</i><br>
                                              </div>
                                            </div>
                                          </div>
                                          <br>
                                          <fieldset></fieldset>
                                          <br>
                                          <pre>_______________________________________________
Lazarus-es mailing list
<a moz-do-not-send="true" href="mailto:Lazarus-es@lists.lazarus.freepascal.org" target="_blank">Lazarus-es@lists.lazarus.freepascal.org</a>
<a moz-do-not-send="true" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es</a>
</pre>
                                        </blockquote>
                                        <br>
                                        <br>
                                        <div>-- <br>
                                          A/S Pedro Hernández Brandzen
                                          1956 Of. 401 - Montevideo -
                                          Uruguay Tel. (598) 24190208 *
                                          - Cel. 098990947 mail: <a
                                            moz-do-not-send="true"
                                            href="mailto:pedro@phsoft.com.uy"
                                            target="_blank">pedro@phsoft.com.uy</a>
                                          web :<a moz-do-not-send="true"
href="http://www.phsoft.com.uy" target="_blank">www.phsoft.com.uy</a></div>
                                        <br>
                                        <br>
                                      </div>
                                    </div>
                                    <hr style="border:medium
none;color:rgb(144,144,144);background-color:rgb(176,176,176);min-height:1px;width:99%">
                                    <table
                                      style="border-collapse:collapse;border:medium
                                      none">
                                      <tbody>
                                        <tr>
                                          <td style="border:medium
                                            none;padding:0px 15px 0px
                                            8px"> <a
                                              moz-do-not-send="true"
                                              href="http://www.avast.com/"
                                              target="_blank"> <img
                                                moz-do-not-send="true"
                                                src="http://static.avast.com/emails/avast-mail-stamp.png"
                                                border="0"> </a> </td>
                                          <td>
                                            <p
style="color:rgb(61,77,90);font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
                                              Este mensaje no contiene
                                              virus ni malware porque la
                                              protección de <a
                                                moz-do-not-send="true"
                                                href="http://www.avast.com/"
                                                target="_blank">avast!
                                                Antivirus</a> está
                                              activa. </p>
                                          </td>
                                        </tr>
                                      </tbody>
                                    </table>
                                    <br>
                                  </div>
                                  <br>
_______________________________________________<br>
                                  Lazarus-es mailing list<br>
                                  <a moz-do-not-send="true"
                                    href="mailto:Lazarus-es@lists.lazarus.freepascal.org"
                                    target="_blank">Lazarus-es@lists.lazarus.freepascal.org</a><br>
                                  <a moz-do-not-send="true"
                                    href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es"
                                    target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es</a><br>
                                  <br>
                                </blockquote>
                              </div>
                            </div>
                          </div>
                          <br>
                          <br clear="all">
                          Podes usar la Synedit, tiene para manejo de
                          xml<span><br>
                            <br>
                            <br>
                            -- <br>
                            <div>El que pregunta aprende, y el que
                              contesta aprende a responder.<br>
                              <br>
                              No a la obsolecencia programada: <a
                                moz-do-not-send="true"
href="http://www.rtve.es/noticias/20110104/productos-consumo-duran-cada-vez-menos/392498.shtml"
                                target="_blank">http://www.rtve.es/noticias/20110104/productos-consumo-duran-cada-vez-menos/392498.shtml</a><br>
                              <br>
                              Linux User #495070<br>
                              <a moz-do-not-send="true"
                                href="http://domonetic.com/blog"
                                target="_blank">http://domonetic.com/blog</a></div>
                          </span></div>
                      </div>
                      <br>
                      _______________________________________________<br>
                      Lazarus-es mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:Lazarus-es@lists.lazarus.freepascal.org"
                        target="_blank">Lazarus-es@lists.lazarus.freepascal.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es"
                        target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es</a><br>
                      <br>
                    </blockquote>
                  </div>
                </div>
              </div>
              <span class="HOEnZb"><font color="#888888"><br>
                  <br clear="all">
                  <br>
                  -- <br>
                  <div>Christian</div>
                </font></span></div>
            <br>
            _______________________________________________<br>
            Lazarus-es mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Lazarus-es@lists.lazarus.freepascal.org">Lazarus-es@lists.lazarus.freepascal.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es"
              target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr"><span
              style="font-size:small;font-family:tahoma,sans-serif">
              <div style="display:inline">​</div>
            </span><font style="font-size:small" face="tahoma,
              sans-serif">Most good programmers do programming not
              because they expect to get paid or get adulation by the
              public, but because it is fun to program.
              <div style="display:inline">​ ​</div>
            </font><i
              style="font-size:small;font-family:tahoma,sans-serif">Linus
              Torvalds</i><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Lazarus-es mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus-es@lists.lazarus.freepascal.org">Lazarus-es@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-es</a>
</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      A/S Pedro Hernández
      Brandzen 1956 Of. 401 - Montevideo - Uruguay
      Tel. (598) 24190208 * - Cel. 098990947
      mail: <a class="moz-txt-link-abbreviated" href="mailto:pedro@phsoft.com.uy">pedro@phsoft.com.uy</a>
      web :www.phsoft.com.uy</div>
  
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                Este mensaje no contiene virus ni malware porque la protección de <a href="http://www.avast.com/">avast! Antivirus</a> está activa.
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>