Re: [xml] RelaxNG - trouble with context



On Thu, Dec 04, 2003 at 01:46:14PM +0100, Petr Novak wrote:
I read the API documentation, but there is only that the type of
xmlRelaxNGParserCtxt is _xmlRelaxNGParserCtxt. The same is in the source code.


So, how can be modify something in the xmlRelaxNGParserCtxt or in the
xmlRelaxNGValidCtxt, for example userData section?
(fox example: ParserContext->userData = NULL)

  You can't modify it. You need to use function to access the content.
Use xmlRelaxNGSetParserErrors() to change userData.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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