developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


XSLT transform-ignoring external entity reference in R7.0.2 - but worked well on R6.5.4
Anu P 06/05/2007 05:13 PM
Domino Designer 7.0.2 Windows XP

Hello All,

I am trying to transform an XML file to DXL and trying to transform non domino data into lotus notes document using a custom XSLT. The XML file has external reference to other xml files..
<!ENTITY sample SYSTEM "C:\xml\Sample.xml">

I used to test on R6.5.4 Notes Client to run my agent. It used to bring in the content from the sample.xml and everything looked great. My problems started when I switched to R7.0.2 client. The same code is ignoring the external entity file.
Does anyone know if I am running into a bug, or is there something I need to do to make it work.

Lotus Script used is to do this is someting like this..

Set importer = session.CreateDXLImporter()
Call importer.SetOutPut(db)
Set transformer=session.CreateXSLTransformer( xmlin,xslin,importer)
transformer.InputValidationOption =0
transformer.ExitOnFirstFatalError = False
Call transformer.process

Any help is greatly appreciated.


Go back