Re: [xml] Get path of embedded stylesheet

2005-05-18 Thread Daniel Veillard
On Wed, May 18, 2005 at 10:39:13AM +0530, Raghunath Adhyapak wrote: Hello, XML documents can have style-sheet information embedded into the document itself. Is there any API to extract the embedded XSL information? No but you can look at xsltLoadStylesheetPI implementation in

Re: Re: [xml] ampersand conversion

2005-05-18 Thread oliverst
I thought that, but I just did a small test and the libxml2 is doing totally different things in some cases. Look at this: test-sample \' xmlNodeSetContent testlt;gt;'/test totally drops the ampersand - valid XML xmlNewNode '/ did nothing - invalid XML xmlNewProp (name) test '=test/ did

[xml] Error handling

2005-05-18 Thread Gijun Lee
Hello, I am using LibXML for the system I am working on. It is a well written library and easy-to-use. I used libxml heavily in my source code. Only thing I am left with is regarding error handling. Seems like libxml prints all errors into stderr. For example, if a XML document has invalid

[xml] XPath Regression Fails on Win32 for libxml2-2.6.19

2005-05-18 Thread Rush Manbert
Hello, I have built libxml2 version 2.6.19 on Windows XP using the method described in the win32 subdirectory. The library builds, but it fails if I run the tests by specifying the tests target to nmake. After a lot of fooling around, I finally modified win32\Makefile.msvc so I could see what

Re: [xml] Problem with CDATA entities

2005-05-18 Thread Daniel Veillard
On Wed, May 18, 2005 at 10:16:44PM +0100, Nic Ferrier wrote: I'm having a problem with CDATA entities. You can see the same problem by doing this: xmllint http://www.oreillynet.com/meerkat/?_fl=rss10t=ALLc=5136 In other words download the O'Reilly ONJAVA RSS feed. This feed uses an HTML

Re: [xml] Problem with CDATA entities

2005-05-18 Thread Nic Ferrier
Daniel Veillard [EMAIL PROTECTED] writes: The w3 dtd has this in it: !ENTITY nbsp CDATA #160; -- no-break space = non-breaking space, U+00A0 ISOnum -- [...] And the error from xmllint one gets is related directly to this: