Hi Oliver,

find my comments inlined..

Oliver Brinzing wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Svante,

when the content.xml is processed, the base reference of the document() 
function is pointing to
the ZIP root.
Therefore you have to zip your sourceB.xml, if you want to access it with XSLT 
in the manner you
mentioned.

ok, so if i would zip the sourceA.xml and sourceB.xml into one "source.zip" it 
will work ?
the user will then select the *.zip file from file -> open ... ?

my solution at the moment :

i generate the "content.xml" via command line as mentioned and copy it into my 
"report.sxw"
(the "report.sxw" is an empty writer doc) ....

I thought somehow you would like to open a zipped ODT/SXW document...

But when you want to generate flat XML, we should try a different approach:

When the XSLT processor of the Office is being called, there are some parameters given to the stylesheet by default. On these you may rely on, for the import we have, the parameters are called SourceURL and SourceBaseURL.
They might help you in your task. I give you an example:

SourceURL = file:///C:/Documents%20and%20Settings/sus/My%20Documents/docbook/doctest.fsxw
SourceBaseURL = doctest

Svante




Oliver

- --
GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFE6x4STiyrQM/QSkURAmysAJ9Yjre5Kok8YQd2Ai7cfu6RsN0FngCY9+ME
n3Vm+gRLWmgja+TjyYATJQ==
=RFX8
-----END PGP SIGNATURE-----

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


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

Reply via email to