Hi,

i hope someone can help me doing this:

Transforming an input xml file to an output file with an stylesheet file.
There is a doctype declaration in the input file:

<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE PPC SYSTEM 'ppc_kias_in_1_2.dtd'>
<PPC>
...

This declaration should be ignored (the parser should not look for a DTD).
How can i do this?

I tried following code:
...
XalanTransformer m_xalanTransformer;
theResult = m_xalanTransformer.transform((LPCTSTR)csInput,
(LPCTSTR)csStylesheet, (LPCTSTR)csOutput);
...

This is OK, since there is an DTD file.

Thanks,
Cengiz

Reply via email to