Re: [xsl] document function

Subject: Re: [xsl] document function
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Wed, 13 Aug 2003 18:44:45 +0100
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


Current Thread