List Info

Thread: Binary data in ATTRIBUTE




Binary data in ATTRIBUTE
user name
2006-06-30 06:54:04
Hello,

can I get infor about how to put Binary data in Attribute value.

I have come accross many functions in the xmlorg which deals with binary data, but all of them are used to write data in COMMENT / CDATA part not the ATTRIB part.

In other words I want following


And NOT
Binary Data

If any one has any details on this then pls revertback...
I need it badely...

thnaks in advance..
Bipin Mistry.

-----------------------------------------------------------
Hi..! Get this Exclusive Offer From 30gigs.com. Free Ipod Nano! Click Here.
Don't have 30gigs email account yet? Sign up and get your 30GB Webmail account Now!

Binary data in ATTRIBUTE
user name
2006-06-30 08:26:42
On Fri, Jun 30, 2006 at 01:54:04AM -0500, Bipin Mistry
wrote:
> can I get infor about how to put Binary data in
Attribute value.

  First, it's not specific to libxml2, it's a general XML
design question.
  Second, in general you can't. Now you can uuencode the
data, but putting
uuencoded string in attributes is a completely broken
design.
I guess you don't find informations because it's something
to avoid.
  Third, no need to post things twice.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillardredhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ |
Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )