This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: using document() to access a dynamically generated xml tree
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] using document() to access a dynamically generated xml tree
- From: "Julian Reschke" <julian dot reschke at gmx dot de>
- Date: Tue, 7 Aug 2001 09:29:44 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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&-format=-ds
o_xml&Client=WMC&-Find')"/>
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Fietz, Markus
> (Minerals, Clayton)
> Sent: Tuesday, August 07, 2001 9:19 AM
> To: 'XSL-List@lists.mulberrytech.com'
> 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