[xml] Need help on API xmlSchemaIsValid()...



Kindly guide me how to use the API

int xmlSchemaIsValid(xmlSchemaValidCtxtPtr ctxt);

What I can see I need to have a pointer "ctxt" to type
xmlSchemaValidCtxt. But how can initialize this pointer

I'll have a string buffer(i mean char *) which will contain the
xml-payload.
This buffer somehow has to be converted to ctxt or there must be some
member of xmlSchemaValidCtxt to which I'll have to memcpy() the string
buffer.

Kindly guide me.

Regards,
Sam Oak.




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