Hi,

if making an import filter like shown in the dev guide, I assume there
is a model created to be the target of the parser building up the models
content.

This would require feeding the buffered pipe for parsing with the
standard header first.

This is what I'm talking about:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE office:document-content PUBLIC "-//OpenOffice.org//DTD OfficeDocument 
1.0//EN" "office.dtd">
<office:document-content 
...

If I want to avoid that "overhead" by using an emtpy template document
containing a bunch of style templates for importing a non-XML document
format, how could I achieve this?

The importer itself is fed with an a XDocumentHandler an an InputStream,
but they have to be pre-created, can this process be influenced in any
way?

TIA,
Marc


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to