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

RE: [xml] does libxml support namespace completely?



As is clearly stated on www.xmlsoft.org libxml does support namespaces
(completly).
The issue on namespaces in xpath has just been discussed (first mail of the
thread was a single day before your first mail to this list).
libxmls handling of those is just as required by the specification.

> -----Original Message-----
> From: warmice [mailto:news_list sina com]
> Sent: Wednesday, October 30, 2002 1:00 AM
> To: xml gnome org
> Subject: [xml] does libxml support namespace completely?
> 
> 
> hi there!
> i have a question about the namespace! now i use the libxml 
> process a xml file with the
> namespace, but it can't work well.
> my xml file is:
> 
> <root xmlns="http://myserver/aa.xsd>
> 	<cc>
> 		<dd>abcd</dd>
> 	</cc>
> </root>
> 
> i invoke the xmlGetPath(ptr),the ptr is the node pointer to 
> the <dd>,and the returen is
> /(null):root/(null):cc/(null)dd. 
> but when i invoke the xpath api to fetch the node pointer 
> with above path,it return the null.
> who can tell me why? and if the libxml can't support the 
> namespace completely.
> 
> i have read the archive. i find a mail told me don't use the 
> namespace at best.
> but i have to use it, who can give me a solution?
> 
> 
> 
> _______________________________________________
> xml mailing list, project page  http://xmlsoft.org/
> xml gnome org
> http://mail.gnome.org/mailman/listinfo/xml
> 
> 
> 
> 



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