Re: [xml] Newbie wmlWriter question



On Thu, Apr 15, 2004 at 11:27:11AM +0200, Matteo Sorci wrote:
I'm trying to generate an xml file like this:

<EXAMPLE>
      <RESULT NAME="test" ID="0">53535</RESULT>
</EXAMPLE>

but i'm not able to generate <RESULT NAME="test" ID="0">53535</RESULT>, i
have used xmlTextWriterWriteWriteElement and xmlTextWriterWriteAttribute but
it doesn't work!!

  The example http://xmlsoft.org/examples/testWriter.c
seems to show how to write element with attributes
   http://xmlsoft.org/examples/writer.xml

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]