|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Document() and &
Subject: Re: Document() and &
From: Josh Beach <josh.beach@xxxxxxxxxxx>
Date: Wed, 15 May 2002 15:52:14 +0200
|
Thanks Jeni,
I have done as you suggested and it works fine with the file on the
local machine but still not with the full URI (I did it with two
different files just to make sure ;). Any suggestions?
Thanks again,
Josh
On Wednesday, May 15, 2002, at 03:18 PM, Jeni Tennison wrote:
Hi Josh,
So I have switched to the Java Xalan processor and have the same error.
I posted some incorrect information before. If I do the following I DO
get the error.
<xsl:apply-templates
select="document('http://www.somewhere.com/getDocument.html?docType=xml&
amp;
id=12345')"/>
Earlier I stated that I this worked but it doesn't. With Xalan the
error is stated like this "file:///Volumes/SharedDocs/TestFile.XSL;
Line 129; Column 134; Can not load requested doc: Attribute name
"TD" must be followed by the ' = ' character."
It sounds as though the document that you're getting through the
document() function isn't well-formed XML. Try saving the document
locally and checking whether it's well-formed; try loading the local
copy with the document() function. If the document isn't well-formed,
you're going to have to talk to the people at www.somewhere.com to get
them to make it so.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|