Using DOM for input and output is not recommended because it is very
inefficient. Unless you have a need to modify the input using the DOM
APIs, you're introducing complexity that you don't need. It is also
possible to have Xalan produce DOM on output by using a FormatterToDOM as
the result target. There is code which does this in the TestXSLT
executable. Look at TestXSLT/process.cpp for more information.
You must initialize the Xerces library before you use anything, just like
you must initialize Xalan before you use anything. See the Xerces
documentation for more information. If you have more questions about using
Xerces classes, please post those questions on the Xerces-C user list.
Dave
"+Z5c- +W1CCrw-"
<[EMAIL PROTECTED] To:
[email protected]
mail.com> cc: (bcc: David N
Bertoni/Cambridge/IBM)
Subject: problems in initalising
DOMParser object within
04/17/2002 12:09 xalan-c for dom input/output
PM
Hi, i was wondering anyone have bulit an example of using DOM input for
transformation in xalan-c v.1.3?
i am having problem using the DOM, in fact it causes error as soon as i
initialises the the DOMParser object (i.e. as in the example DOMParser
theParser;)
it gives an application error message: as follows:
{the instruction at "0x120168a0" referenced memory at "0x00000000". the
memory could not be "read" }
in the debugging mode it gives a message saying :- {unhandle exception at
aaa.exe (xerces-c_1_6_0.dll): 0xC0000005: Access voilation}
i was wondering has anyone have similiar problem as i did? was it simply
settings within my development environment (currently using vC+-+- 6.0 SP5
under win2000) or there are more to it, i would be grateful if someone
could help me out over this matter
Mank thanks
Regards
kit
_________________________________________________________________
+T391KFFodANnAFkaTrpPf3UodoSW+1tQkPVO9mcNUtk- MSN Hotmail+/wyKy3n7gfM-
http://www.hotmail.com
+MAI-