RE: [xml] Self terminating tags
- From: Brett Robichaud <brobichaud digimarc com>
- To: "'veillard redhat com'" <veillard redhat com>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: RE: [xml] Self terminating tags
- Date: Wed, 11 Dec 2002 14:50:46 -0800
Here is a very simplified version of what I'm trying to do:
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<mosaic width="128" height="128" loc="mosaic1.gwmr"/>
</metadata>
Using libXML I can only figure out how to do this:
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<mosaic width="128" height="128" loc="mosaic1.gwmr"></mosaic>
</metadata>
-Brett-
-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com]
Sent: Wednesday, December 11, 2002 2:43 PM
To: Brett Robichaud
Cc: 'xml gnome org'
Subject: 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
this:
<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
http://xmlsoft.org/bugs.html
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]