Hi all,
I need help in finding the element xpath where schema validation fails. Is there any libxml2 API which could be used to get the xpath of an element in the document which fails schema validation.
Any help or direction is appriciated.
Regards Ajay
--- On Wed, 1/18/12, ajay bhadauria <abhadauria yahoo com> wrote:
From: ajay bhadauria <abhadauria yahoo com> Subject: [xml] Get xpath during schema validation error using libxml2 To: xml gnome org Date: Wednesday, January 18, 2012, 1:46 AM
Hi,
I am new user to libxml2. I am validating xml files against
schemas using libxml2 on HPUX.
I am wondering that is there any API which gets the XPATH of schema validation error of document or what should I look to generate xpath in case schema validation error.
Regards Ajay
|
-----Inline Attachment Follows-----
|