This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]