[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] How to read XML file offline
- From: Philip Fearon <pgfearo@googlemail.com>
- To: xml-dev@lists.xml.org
- Date: Thu, 6 May 2010 07:16:21 +0100
To recap, it seems you need a free tool with the rendering
capabilities of an XML editor that is also able to cache DTD files
locally.
The free XPath tool called SketchPath[1] (and other similar tools) may
meet your needs.
SketchPath lets you cache DTD files locally (with some DTDs such as XHTML
transitional already installed) and renders the XML as you would see
in an XML editor, with a synchronised element tree-view.
Some limitations in the standard version of SketchPath:
1. Because this tool is mainly concerned with the XPath Data Model,
DTD declarations aren't rendered in the XML view
2. Entity references such as are resolved before rendering
3. There is a practical file size limit of about 400KB
4. Requires Windows XP and .NET 2.0 Framework (or later)
---------
[1] http://www.sketchpath.com
Regards
Phil Fearon
http://qutoric.com
On Thu, May 6, 2010 at 5:04 AM, Jack Bush <netbeansfan@yahoo.com.au> wrote:
> Hi All,
>
> I am having difficulty opening up XML files offline (not connected or Internet/behind a proxy server) using Internet Explorer as it returns the following message:
>
> The XML page cannot be displayed
> Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
> The server did not understand the request, or the request was invalid. Error processing resource 'http://www.w3.org/TR/xhtm...
>
> Below is the first few lines of C:\Tmp\car.xml document:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"><head><script type="text/javascript">
> .......
>
> Firefox can open the same document but as flat file which looses some of the hierachical tree structure and cannot track the source of the nodes properly.
> I would like to read its content the same way as an XML editor would, without having to purchase one since I only need it for viewing purposes.
>
> I have made the following change to the same document in an attempt to reference the DTD locally without success:
>
> <!DOCTYPE html SYSTEM "-//W3C//DTD XHTML 1.0 Transitional//EN" "e:\\TMP\\xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"><head><script type="text/javascript">
> .....
>
> Now the error output is slightly different:
>
> The XML page cannot be displayed
> Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
>
> --------------------------------------------------------------------------------
>
> The character '>' was expected. Error processing resource 'file:///C:/Tmp/CAR.xml'. Line 2, Position 64
>
> <!DOCTYPE html SYSTEM "-//W3C//DTD XHTML 1.0 Transitional//EN" "e:\\TMP\\xhtml1-transitional.dtd">
> ------------------...
>
> Any assistance would be much appreciated.
>
> Thanks a lot,
> Jack
On Thu, May 6, 2010 at 5:04 AM, Jack Bush <netbeansfan@yahoo.com.au> wrote:
> Hi All,
>
> I am having difficulty opening up XML files offline (not connected or Internet/behind a proxy server) using Internet Explorer as it returns the following message:
>
> The XML page cannot be displayed
> Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
> The server did not understand the request, or the request was invalid. Error processing resource 'http://www.w3.org/TR/xhtm...
>
> Below is the first few lines of C:\Tmp\car.xml document:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"><head><script type="text/javascript">
> .......
>
> Firefox can open the same document but as flat file which looses some of the hierachical tree structure and cannot track the source of the nodes properly.
> I would like to read its content the same way as an XML editor would, without having to purchase one since I only need it for viewing purposes.
>
> I have made the following change to the same document in an attempt to reference the DTD locally without success:
>
> <!DOCTYPE html SYSTEM "-//W3C//DTD XHTML 1.0 Transitional//EN" "e:\\TMP\\xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml"><head><script type="text/javascript">
> .....
>
> Now the error output is slightly different:
>
> The XML page cannot be displayed
> Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
>
> --------------------------------------------------------------------------------
>
> The character '>' was expected. Error processing resource 'file:///C:/Tmp/CAR.xml'. Line 2, Position 64
>
> <!DOCTYPE html SYSTEM "-//W3C//DTD XHTML 1.0 Transitional//EN" "e:\\TMP\\xhtml1-transitional.dtd">
> ------------------...
>
> Any assistance would be much appreciated.
>
> Thanks a lot,
> Jack
>
>
>
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]