<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 09/06/2015 13:32, Samuel Gougeon
      wrote:<br>
    </div>
    <blockquote cite="mid:5576CEB8.5040200@free.fr" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Le 09/06/2015 13:13, Samuel Gougeon a
        écrit :<br>
      </div>
      <blockquote cite="mid:5576CA67.1090002@free.fr" type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        .../...<br>
        I would have expected that .name and .content be usable on e,
        but previous trials showed that it is/was not the case<br>
        .<br>
        <blockquote type="cite">-->e =
          doc.root.children(1).attributes<br>
           e  =<br>
           <br>
          XML Attributes<br>
          att --> foo<br>
          rib --> bar<br>
          <br>
          -->e.name<br>
           ans  = <br>
               []<br>
           <br>
          -->e.content<br>
           ans  =<br>
               []<br>
        </blockquote>
        It would be quite intuitive and more straightforward. <br>
      </blockquote>
      .<br>
      OK, i have just caught why this is not implemented as this:<br>
      e being an XML attribute object, e.mystring  points to the value
      of the attribute named myString. So, e.name and e.content point to
      the value of attributes named "name" and "content", as in
      <myTag name="test" content="value">bla bla</myTag><br>
      <br>
    </blockquote>
    <br>
    You're right !<br>
    <br>
    <blockquote cite="mid:5576CEB8.5040200@free.fr" type="cite"> I don't
      know well XML conventions for attributes names. I am pretty sure
      that attributes names should exclude some special chars like
      "&" or some others. So, addressing the names could be done
      through e.name& and values through  e.value& ... without
      having to use xmlXPath(). A proposal.<br>
    </blockquote>
    <br>
    Bof...<br>
    <br>
    Maybe xmlName is what you expect:
    <a class="moz-txt-link-freetext" href="http://help.scilab.org/docs/5.5.2/en_US/xmlName.html">http://help.scilab.org/docs/5.5.2/en_US/xmlName.html</a><br>
    <br>
    Calixte<br>
    <br>
    <blockquote cite="mid:5576CEB8.5040200@free.fr" type="cite"> <br>
      Samuel<br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Calixte Denizet
Software Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a></pre>
  </body>
</html>