Re: is this standard way of including xml into xml?




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
.



Relevant Pages

  • *** REST, large POST, and "Server Error" (for gurus only)
    ... I get an exception when I send XML that is like 10M in size. ... "The server encountered an error processing the request. ... See server logs for more details" ... nothing in the diagnotic log. ...
    (microsoft.public.dotnet.framework.webservices)
  • *** REST, large POST, and "Server Error" (for gurus only)
    ... I am using REST to POST a large set of XML content. ... "The server encountered an error processing the request. ... nothing in the diagnotic log. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Response.Write for a XML string
    ... Try to clear the response output stream prior to ... Take the XML that you write, place it in a text file and save with XML ... "msuk" wrote in message ... Error processing ...
    (microsoft.public.dotnet.languages.csharp)
  • XML Outputs
    ... I am unable to create an XML file that IE can open. ... Cannot view XML input using XSL style sheet. ... Error processing ...
    (microsoft.public.sqlserver.xml)
  • Re: Future of LISP. Alternative to XML. Web 3.0?
    ... I'm learning lisp from a few weeks I thought the same ... And you could say that the dtd declaration at the beginning of an xml ... The dtd are eliminated in Web 2.0 by Schemas, are just another XML ... HTML is not Web 2.0. ...
    (comp.lang.lisp)