Re: [xml] python wrapper for document API (AND transformCtxt API)

2006-09-06 Thread Nic James Ferrier
Daniel Veillard <[EMAIL PROTECTED]> writes: >> There are some problems that I could use some help with: >> >> - why is the doc loader context sometimes a stylesheet instead of a >> transformContext? >> >> can libxslt/libxslt/documents.c::xsltLoadStyleDocument be changed so >> that it creat

Re: [xml] python wrapper for document API (AND transformCtxt API)

2006-09-06 Thread Daniel Veillard
On Thu, Sep 07, 2006 at 01:40:34AM +0100, Nic James Ferrier wrote: > This is my two recent areas of work combined. > > My motivation for building this API was to allow me to identify what > transformation a particular load was occuring for and this patch > enables me to do that. That's why I've co

Re: [xml] OpenVMS libxml2 Ports Available

2006-09-06 Thread Daniel Veillard
On Wed, Sep 06, 2006 at 06:30:34PM -0400, Stephen Hoffman wrote: > > OpenVMS I64 and OpenVMS Alpha ports of libxml2 2.6.24 are available at > > > > The direct path -- which I don't recommend embedding on any web pages, as the > HP > website and the d

[xml] python wrapper for document API (AND transformCtxt API)

2006-09-06 Thread Nic James Ferrier
This is my two recent areas of work combined. My motivation for building this API was to allow me to identify what transformation a particular load was occuring for and this patch enables me to do that. That's why I've combined them... they actually make sense (to me anyway) together. It does th

[xml] OpenVMS libxml2 Ports Available

2006-09-06 Thread Stephen Hoffman
OpenVMS I64 and OpenVMS Alpha ports of libxml2 2.6.24 are available at The direct path -- which I don't recommend embedding on any web pages, as the HP website and the directories involved are going to be somewhat volatile -- is at the URL:

[xml] Basic newbie Q about parsing trees

2006-09-06 Thread Yan Seiner
I have a simple XML data tree that looks like this: 103 0.000 0.000 0 2 4 6 0.000 0.000

Re: [xml] '' question

2006-09-06 Thread Liam R E Quin
On Wed, 2006-09-06 at 15:50 +0200, Marchese Stefano wrote: > My application parses some xml files using the xmlParseFile() API. > This API gives an error if the file has the following content: > AslURP As indeed it should, character 0x10 (hexadecimal, ie. decimal 16, i.e. ASCII DLE, Data Link Esc

Re: [xml] python wrapper for xslt document API: context problem; __cmp__ needed?

2006-09-06 Thread Nic James Ferrier
Nic James Ferrier <[EMAIL PROTECTED]> writes: > So I think I probably need the stylesheet to implement the Python > comparator interface. > > A naive implementation would be in C and would test that the libxslt > stylesheet struct was the same instance. That would do for me. I've been looking at

Re: [xml] '' question

2006-09-06 Thread Tim Van Holder
Marchese Stefano wrote: > ... hi all, > > just a question about the '' character. > > My application parses some xml files using the xmlParseFile() API. > This API gives an error if the file has the following content: > AslURP > > What I have to do to parse files like that? The XML standard def

[xml] '' question

2006-09-06 Thread Marchese Stefano
... hi all, just a question about the '' character. My application parses some xml files using the xmlParseFile() API. This API gives an error if the file has the following content: AslURP What I have to do to parse files like that? TIA -- Stefano __

[xml] libxml2.xmlIO.awn.1.patch

2006-09-06 Thread Andrew W. Nosenko
2006-09-06 Andrew W. Nosenko <[EMAIL PROTECTED]> * xmlIO.c [HAVE_STAT && HAVE__STAT]: Fix the compilation breakage: macro that redefines of the 'stat' as '_stat' is removed (was introduced in the r1.172). * xmlIO.c: (xmlWrapOpenUtf8): (xmlWrapStat

[xml] python wrapper for xslt document API: context problem; __cmp__ needed?

2006-09-06 Thread Nic James Ferrier
My reason for building the python wrapper for the xslt document API is so that a single python document handling function can deal behave differently for different stylesheet applications. For example, it might serve import files from user specific directories. The doc loader API defines a context

Re: [xml] help! python wrapper for the xslt loader API

2006-09-06 Thread Nic James Ferrier
Daniel Veillard <[EMAIL PROTECTED]> writes: > The C object wrapper is in doc._o, maybe you don't want to have the function > return it, in that case at the C level you may have to grab the _o Ok. That works. Thanks. -- Nic Ferrier http://www.tapsellferrier.co.uk for all your tapsell ferri