Re: [xml] Self terminating tags

On Wed, Dec 11, 2002 at 02:38:52PM -0800, Brett Robichaud wrote:
Using 2.4.28 of libXML under Windows I can only seem to get something like
<MyTag attrib1="Hello" attrib2="goodbye"></MyTag>

You have a problem:

   paphio:~/XML -> cat tst.xml
   <MyTag attrib1="Hello" attrib2="goodbye" />
   paphio:~/XML -> xmllint tst.xml
   <?xml version="1.0"?>
   <MyTag attrib1="Hello" attrib2="goodbye"/>
   paphio:~/XML ->

Provide complete example reproducable with xmllint . See


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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