OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


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).


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC