Re: is this standard way of including xml into xml?
- From: hilz <now@xxxxx>
- Date: Sat, 29 Oct 2005 19:42:25 -0400
Do it server-side instead. Browser-side XML processing is not reliable enough yet.
///Peter
But i am not the owner of the server, and thus do not have access to the server to do it server-side. I only have the url of the rss feel.
In this link you provided, it is saying that i can add the <!ENTITY ...> defnition in the xml file without the <!DOCTYPE ...>
so if i do it this way:
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xsl" href="del.icio.us.XSLT"?>
<!ENTITY foo1 SYSTEM "http://del.icio.us/rss">
<root>
&foo1;
</root>if i do this, it doesn't work in either firefox or IE. i get the following error in firefox:
XML Parsing Error: syntax error
Location:
file:///c:/...../del.icio.us.xml
Line Number 3, Column 1:<!ENTITY foo1 SYSTEM
"http://del.icio.us/rss/hsalameh">
^and the following error in IE:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the
error and then click the Refresh button, or try again later.
---------------------------------------------------
Cannot have a DTD declaration outside of a DTD. Error processing
resource 'file:///C:/Documents and Settings/halim.salameh/...
<!ENTITY foo1 SYSTEM "http://del.icio.us/rss/hsalameh">
---------^
So how do i define the entity without a doctype ?
thanks .
- Follow-Ups:
- References:
- is this standard way of including xml into xml?
- From: hilz
- Re: is this standard way of including xml into xml?
- From: Peter Flynn
- is this standard way of including xml into xml?
- Prev by Date: Re: ?? sign with xsl
- Next by Date: Re: is this standard way of including xml into xml?
- Previous by thread: Re: is this standard way of including xml into xml?
- Next by thread: Re: is this standard way of including xml into xml?
- Index(es):
Relevant Pages
|