[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: using document() to access a dynamically generated

Subject: RE: using document() to access a dynamically generated xml tree
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 7 Aug 2001 10:33:32 +0300
msxml3.dll 0x80004005 no document element
> <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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.