Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Using the XML Parser

Using the XML Parser

From: Tim <tim_j_not-this-bit_obviously_odonnell_at_hotmail.com>
Date: Thu, 9 May 2002 10:46:49 +0100
Message-ID: <zyrC8.1503$Ay2.607760@monolith.news.easynet.net>


I am starting out developing a C++ application using the Oracle XML SDK (I'm using the C, not the C++ version), and am unsure about something.

I was under the impression that I needed to call xmlinit() (which returns an XML Parser contect (xmlctx)) just once in the lifetime of my application

Then I looked at some of the other functions like getDocument(xmlctx *ctx) which leads me to think that each document is associated with a context (so I guess each context can only have one document at a time)

So do I have to call xmlinit() to get a new xmlctx for every document I want to deal with (assuming that I will be parsing more than one document at a time in my multithreaded application)? Am I allowed to do this? Received on Thu May 09 2002 - 04:46:49 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US