This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]