Re: [xslt] libexslt/functions.c and line numbers



On Tue, Oct 09, 2001 at 12:03:18AM +0000, k_isdale@tpg.com.au wrote:
> Hi all,
> 
> I've just realized that there are xslt elements 
> in the stylesheet tree that have content set to 
> something other than the line number. See 
> functions.c line 38
>       func->content = inst->children;
> For stylesheet debugging it is important to have 
> a line number for each instruction how can this 
> be addressed. The line number in previous 
> versions each instruction had the content set to 
> the line number by the sax parser. Or am I 
> looking in the wrong place for where it is now?

  Hum, seems to be EXSLT specific. Normally those kind of informations
are kept in the _private field. The content field of the element is
currently reserved for the line number.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
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]