RE: [xsl] using document() to access a dynamically generated xml tree

Subject: RE: [xsl] using document() to access a dynamically generated xml tree
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Tue, 7 Aug 2001 09:29:44 +0200
Well,

it's not well-formed, so it doesn't even get to the XSLT engine.

Use:

<xsl:variable name="reports"
select="document('http://localhost:591/FMPro?-DB=Reports.FP5&amp;-format=-ds
o_xml&amp;Client=WMC&amp;-Find')"/>


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Fietz, Markus
> (Minerals, Clayton)
> Sent: Tuesday, August 07, 2001 9:19 AM
> To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: [xsl] using document() to access a dynamically generated xml
> tree
>
>
> I would like to use the document() function to access an XML file
> dynamically generated by Filemaker Pro. ie
>
> <xsl:variable name="reports"
> select="document('http://localhost:591/FMPro?-DB=Reports.FP5&-form
> at=-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 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."
>
>
>
> Markus
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Current Thread