static library on MacOS

2004-07-14 Thread Song Li
Hi, I am using xerces on Mac, and I want to link xerces as a static library, so I go to "obj" directory, type: ar -r libxerces-c.a *.o ranlib libxerces-c.a and link this .a file when compiling my application, it gave me error: ld: /Users/lisong/lib/xerces-c-src_2_5_0/lib/libxerces- c.a(MacOSP

Re: parsing error with non-local DTD file

2004-07-14 Thread Song Li
MacOS 10.3. Song On Jul 14, 2004, at 11:57 AM, Alberto Massari wrote: At 11.33 14/07/2004 -0500, Song Li wrote: Thanks! so which option I should select while compiling? I tried "libwww'" but still doesn't work... more suggestion? Hi Song, on which platform are you working? Alb

Re: parsing error with non-local DTD file

2004-07-14 Thread Song Li
Thanks! so which option I should select while compiling? I tried "libwww'" but still doesn't work... more suggestion? Song On Jul 14, 2004, at 10:16 AM, Alberto Massari wrote: At 16.46 13/07/2004 -0500, Song Li wrote: Hi, gurus, A newbie's question; when I parse an X

parsing error with non-local DTD file

2004-07-14 Thread Song Li
Hi, gurus, A newbie's question; when I parse an XML file with a line looks like: http://www.genome.ad.jp/kegg/xml/KGML_v0.4_.dtd";> It can't parse and gives me an error: Message: An exception occurred! Type:MalformedURLException, Message:The URL used an unsupported protocol I've searched the pas

Newbie's question -- extracting information from XML file

2004-06-03 Thread Song Li
Hi, I have an XML file with the format looks like: === === I want to extract the "value" under the node "subtype" by using DOM, I've tried two methods but neither return a correct result: method 1: get a DOMnode(let