This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
MSIE60 / HTTP URI problem
- From: Kraa de Simon <Simon dot de dot Kraa at icl dot nl>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 05 Mar 2002 14:08:54 +0100
- Subject: DOCBOOK-APPS: MSIE60 / HTTP URI problem
Hello,
Using MSIE60 (same problem on MSIE55).
When I use the following declaration the XSL file is applied and I see the
resulting HTML output in the browser.
Very nice!
<!DOCTYPE book SYSTEM "//hol01sro/htdocs/docbook/docbkx412/docbookx.dtd">
<?xml-stylesheet type="text/xsl"
href="//hol01sro/htdocs/docbook/docbook-xsl-1.48/html/docbook.xsl"?>
But when I use the following URI's I get the error stated below.
Any ideas?
<!DOCTYPE book SYSTEM "http://hol01sro/docbook/docbkx412/docbookx.dtd">
<?xml-stylesheet type="text/xsl"
href="http://hol01sro/docbook/docbook-xsl-1.48/html/docbook.xsl"?>
Results in:
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
'http://hol01sro/docbook/docbkx412/dbpoolx.mod'. Line 840, Position 50
<!ENTITY % bibliomixed.role.attrib "%role.attrib;"................... -->
-------------------------------------------------^
Thanks,
Simon.
-----Original Message-----
From: David Cramer [mailto:dcramer@broadjump.com]
Sent: donderdag 28 februari 2002 16:32
To: Kraa de Simon; docbook-apps@lists.oasis-open.org
Subject: RE: DOCBOOK-APPS: Using DocBook XSL for previewing in XMetaL
3.0?
In fact, you don't need XML Spy or XMetaL to get a preview. With IE 5.5
and the MSXML 3.0 parser in replace mode (and the appropriate pi
pointing to the xsl), you can just drag the xml file into IE and see it
rendered. I know with 5.5 you have to install the parser and change it
to replace mode--don't know if that's still necessary with 6.0.
MSXML parser:
http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.as
p?url=/msdn-files/027/001/469/msdncompositedoc.xml
Replace mode tool:
http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.as
p?url=/msdn-files/027/001/469/msdncompositedoc.xml
Format of the pi:
<?xml-stylesheet type="text/xsl" href="path/to/html/docbook.xsl"?>
I've gotten the preview to work within XMetaL 2.1 occasionally, but it
was always flaky.
David
> At 08:57 2002 02 28 +0100, Kraa de Simon wrote:
> >I like the way I can do XSL transformations from within XML
> Spy directly (by
> >'assigning a XSL file to the XML document).
> >
> >So the authors can 'preview' the document from within the
> XML editor by just
> >pushing a button (without any knowledge of the
> transformation process).
> >
> >I don't think this was possible in XMetaL 2.1 (correct me if
> I'm wrong).