[xml] function document

2010-10-08 Thread spinmar
Hi all,I'm trying to use the function document to load a remote xml file but it seems to me that libxslt document function works only on local files.Is it true?Typing xsltproc --dumpextensions I see that there is an document extension function: Registered Extension Elements:{http://exslt.org/c

[xml] Encoding

2005-07-26 Thread spinmar
Hi all, I'm seeing a strange error which I can't understand. I'm writing a C cgi which use libxml2 and libxslt. In my xsl I use exslt and then before calling xsltApplyStylesheet, I call xmlSubstituteEntitiesDefault(1); exsltRegisterAll(); The exslt function I use is str:encode-uri, because I have

[xml] htmlReadMemory

2005-01-26 Thread spinmar
Hi all, I have two questions regards to htmlReadMemory. This function is htmlDocPtr htmlReadMemory (const char * buffer, int size, const char * URL, const char * encoding, int options) I don't understand the meaning of: URL: the base URL to use for the document For example if the url is

[xml] htmlReadMemory

2005-01-26 Thread spinmar
Hi all, I have two questions regards to htmlReadMemory. This function is htmlDocPtr htmlReadMemory (const char * buffer, int size, const char * URL, const char * encoding, int options) I don't understand the meaning of: URL: the base URL to use for the document For example if the url is