xsl-list
[Top] [All Lists]

Re: document function

2003-08-13 10:44:45
Hi Abbouh,

in my xsl file i use this instruction:
<xsl:apply-templates
select="document(concat($rep_in,'/',string($vdicopartmod/attribute::docref),'.xml'))//docbody"/>

but i receive this error:

file:///var/tmp/test.xsl; Line #1866; Column #118; Can not load
requested doc: Content is not allowed in prolog.

what can be the problem?

Probably the document that you're accessing is not a well-formed XML
document. Check it to make sure...

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>