-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

i tried to create a xslt filter to merge the information from two *.xml docs 
into one writer doc ...

till now i managed to build the content.xml via a batch file:

set ooPath=D:\programs\soffice
set classPath=%ooPath%\program\classes
set 
classes="%classPath%\xalan.jar;%classPath%\xml-apis.jar;%classPath%\xercesImpl.jar"

java -cp %classes% org.apache.xalan.xslt.Process -IN .\files\sourceA.xml -XSL 
.\filters\report.xsl
- -OUT content.xml

inside "report.xls" i get information from "sourceB.xml" via

<xsl:variable name="sourceB" select="document('sourceB.xml', 
/)/DATAPACKET/ROWDATA"/>

this works perfect as long as i do not install the filter inside oo ...

using file -> open -> "sourceA.xml" to import my report fails, cause 
"sourceB.xml" is not found ...
document() points to \soffice\user\xslt\MyFilter ...

any hints ?

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

iD4DBQFE6wLWTiyrQM/QSkURAu5uAJ9sgRegP01Eswos/WjIvfp0rd44KQCVEM1R
FmcIVRbvPIVuhZiLlZ8iDw==
=AHR9
-----END PGP SIGNATURE-----

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

Reply via email to