From: Vit U. <ul...@gm...> - 2009-11-16 16:40:46
|
Dannes Wessels wrote: > Hi, > > On Sat, Nov 14, 2009 at 1:08 AM, Vit Ulicny <ul...@gm... > <mailto:ul...@gm...>> wrote: > > > ***In the exist console I have this error: > Error on line 1 column 1 of *file:/E:/summer2009/exist/*: > SXXP0003: Error reported by XML parser: Content is not allowed in > prolog. > > > transform:transform(doc("*/db/**infoex/xml*/2008/observations/INFOEX_20081215.xml"), > doc("*/db/infoex/xslt*/infoex_report_all_html_local.xslt"), ()) > > > there is no direct relation ship between the error and the transform > function call. Are you sure you did post the correct code? > > SXX,.... seems to be a Saxon code..... is there some code in the > xslt-script that refers to you E: drive? > Hi, thanks for reply. I am sure I posted the correct code. The folder E:/summer2009/exist/ is where my eXist db is installed. My transform xquery, the xml file and the xslt-script are stored in the database. Recently I upgraded the exist's xslt processor to Saxon9 B, but it works fine with really simple xslt example from xquery wikibook. Also it works fine when I run the transformation in oXygen using their Saxon processor. I am not the author of the xslt-script, but there is not any hard-coded path to my E drive. Obviously the Saxon is looking for something on my E drive, but I don't know what is it...? I would really appriciate any further help. Thank you. Vitek Ulicny |