<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">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=ISO-8859-1"
        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>
    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>
    <br>
    Samuel<br>
    <br>
  </body>
</html>