From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Fri May 26 2000 - 14:43:25 EDT
On Fri, May 26, 2000 at 02:31:04PM -0400, Adrian Feiguin wrote:
>
> Is there a way to save the file without building a tree? Suppouse that my
> file is huge, because it contains a lot of data (the same reason for using
> the SAX interfase). Building a tree will consume a lot of memory. Instead
> of that, I am using fprints's. OK, it may sound dumb, but it works
> simply great, I even manage to keep the indentation.
> Tha only problem are the special characters '>' '<'.
> 1) Is there a better way?
I don't know any better way if you don't have an XML tree built in memory
> 2) Are ther more spacial characters that these two?
yes '&' => &
you should also be extremely cautious about any char out of the ASCII
range, they are expect to be encoded in UTF-8 by default, or using
character references like 
Internationalization is hard, so I suggest you stick with character
references if you really don't understand fully what exorting an XML
file in given encoding means
> 3) Suggestions?
Read more about XML :-\
http://www.w3.org/XML/
http://www.ucc.ie/xml/
http://www.xml.com/axml/axml.html
http://www.xmlhack.com/
books ...
Daniel
-- Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | Today's Bookmarks : Tel : +33 476 615 257 | 655, avenue de l'Europe | Linux XML libxml WWW Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind http://www.w3.org/People/all#veillard%40w3.org | RPM badminton Kaffe ---- Message from the list xml@xmlsoft.org Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@xmlsoft.org
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:12 EDT