|
Subject: RE: [xsl] using document() to access a dynamically generated xml tree From: Jarno.Elovirta@xxxxxxxxx Date: Tue, 7 Aug 2001 10:33:32 +0300 |
> <xsl:variable name="reports"
> select="document('http://localhost:591/FMPro?-DB=Reports.FP5&-
> format=-dso_xm
> l&Client=WMC&-Find')"/>
> <xsl:for-each select="$reports/fm:FMPDSORESULT/fm:ROW">
> <xsl:value-of select="fm:Client"/>
> <xsl:value-of select="fm:Authors"/>
> <br/>
> </xsl:for-each>
>
> Is there a way of doing this?
I seen no reason why this couldn't work, except you need to escape the
ampersands in the select attribute of xsl:variable.
> I am using the MSXML3 parser and get the
> following error message:
>
> "msxml3.dll (0x80004005)
> The stylesheet does not contain a document element. The
> stylesheet may be
> empty, or it may not be a well-formed XML document."
Does your stylesheet contain a document element?
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] using rules (lines) in fo, Robert J. Lebowitz | Thread | [xsl] Multi-lingual website, Daniel Newman |
| RE: [xsl] using rules (lines) in fo, Joshua . Kuswadi | Date | Re: [xsl] not() function not worki, Oliver Becker |
| Month |