Hi,
There are 2 ways I know of. The first is Xalan
(http://xml.apache.org/xalan-c/index.html) and the second is a
module for xerces-c that my company released as open source a few days
ago. This implements the DOM level 3 interface and is available for
software.decisionsoft.com. Feedback is appreciated.
Gareth
On Thu, 31 Jan 2002, Ravi_Jain wrote:
> Hi All
> I have been xerces-c parser ,I want to use Xpath support ...can anyone tell
> me what all is required to be installed/include for enabling XPATH support?
>
> Thanks in Advance
> Regards
> Ravi Jain
>
>
> > ----------
> > From: Himanshu
> > Verma[SMTP:[EMAIL PROTECTED]]
> > Reply To: [EMAIL PROTECTED]
> > Sent: Thursday, January 31, 2002 9:58
> > To: [EMAIL PROTECTED]
> > Subject: A problem with C Xerces/Xalan on Linux
> >
> > <<File: getValue.cpp>><<File: ATT40030.txt>>
> > Hi,
> > I am trying to use Xerces/Xalan to parse a XML document and then
> > using XPath support to extract some values out of that. Everything
> > works fine for correct XML documents. But if the XML document is
> > incorrect (not a well-formed XML), the program gives segmentation
> > fault and crashes! What I expect is to get an error/exception and
> > continue processing other documents.
> >
> > Please help. Attached is the CPP file. Compile it on Red Hat
> > Linux 7.1. The program has a main function that passes an
> > incorrect XML file for parsing, which crashes it.
> >
> > The Xerces and Xalan versions I am using are as follows:
> >
> > Xerces-c1_5_1-linux
> > Xalan-C_1_2-linux
> >
> > And Linux used in Red Hat Ver. 7.1
> >
> >
> > Thanks and regards,
> >
> >
> > Himanshu
> >
> **************************************************************************
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> **************************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Gareth Reakes, Head of Product Development
DecisionSoft Ltd. http://www.decisionsoft.com
Office: +44 (0) 1865 203192
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]