Re: transformation problems
Brought to you by:
ovidiu
From: Ovidiu P. <ov...@ap...> - 2003-03-08 20:54:01
|
It works fine for me on MacOS X. One thing you might want to do is check the paths. I've spotted for example in your stylesheet definition you have a dockbook.dsl instead of docbook.xsl. Also the DOCTYPE definition should include a reference to the DTD file, something like this: <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "file:/Users/ovidiu/Desktop/docbook-xml-4.2/docbookx.dtd"> Please let me know if you still have problems. Ovidiu On Friday, Mar 7, 2003, at 12:15 US/Pacific, Ed Stuart wrote: > Hi, > > I'm using XSLT 2.2 in XEmacs 21.4 (patch 6) that is running on a > Wintel box. > I am able to create a small DocBook document using the XML-Mode (it > can find > the DTD) and successfully validate the document, but when I execute > 'xslt-process-invoke-buffer-view' using the Saxon 6.5.2 processon my > XML > document: > > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> > <?xml-stylesheet type="text/xsl" > href="file://E:/Users/Local/Lib/XML/DocBook/docbook-xsl-1.60.1/html/ > docbook. > dsl"?> > <article> > <articleinfo> > <title>Unit Test: <!--FIXME--> > </title> > <releaseinfo role="CVS">$Id: template.xml,v 1.2 2002/01/18 21:06:45 > nwalsh > Exp $</releaseinfo> > <author><firstname>Ed</firstname><surname>Stuart</surname> > > <affiliation><address><email>blah@blah</email></address></affiliation> > </author> > </articleinfo> > <para>Hi!</para> > </article> > > the *SGML LOG* indicates that the DTD and the associated entity has > been > found > > catalog: e:\users\local\lib\XML\SuperCatalog exists > catalog: e:\users\local\lib\XML\docbook\docbkx412\docbook.cat exists > Start looking for dtd entity ARTICLE public -//OASIS//DTD DocBook XML > V4.1.2//EN// system nil > catalog: e:\users\local\lib\XML\SuperCatalog exists > catalog: e:\users\local\lib\XML\docbook\docbkx412\docbook.cat exists > >> e:\users\local\lib\XML\docbook\docbkx412\docbookx.dtd [by pubid] > > however, the *xslt errors* buffer contains the returned error message: > > cd > > E:/Docs/DOCbook/docbook-testdocs-1.1/tests/template.xml:2:63: Fatal > error: > whitespace required (found ">") > > Any ideas here? > > Thanks, > Ed Stuart > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The > debugger > for complex code. Debugging C/C++ programs can leave you feeling lost > and > disoriented. TotalView can help you find your way. Available on major > UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Xslt-process-users mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xslt-process-users > |