Hey Matt,
Okay, there is a way to do this. libxml defines a global locator object:
/**
* xmlSAXLocator:
*
* A SAX Locator.
*/
struct _xmlSAXLocator {
const xmlChar *(*getPublicId)(void *ctx);
const xmlChar *(*getSystemId)(void *ctx);
int (*getLineNumber)(void *ctx);
int (*ge
Hi Charlie,
That's exactly what I mean. Is that possible?
What I'd like to do is, parse an xml file and store each node in a flat
search index. I want to store the string start/end position with the
stored item so when the search returns the item, I can load only that
fragment of xml. Some of
Hi Matt,
I'm using the ruby libxml and have looked at the api/docs but can't
find an answer to my question. Which is... is it possible to get the
current string position of an element while using the Reader/Parser?
Let's see - I'm not sure I understand the question. Do you mean if you
are pa
Hi,
I'm using the ruby libxml and have looked at the api/docs but can't
find an answer to my question. Which is... is it possible to get the
current string position of an element while using the Reader/Parser?
Thanks!
Matt
___
libxml-devel mailing list