This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Those pesky 's again
- To: xsl-list at mulberrytech dot com
- Subject: Re: Those pesky 's again
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 5 Apr 2000 18:23:56 +0100 (BST)
- References: <md5:4E3BE87D129643C7DF09B887B179382C> <38EB6FDC.43B52B86@dtai.com>
- Reply-To: xsl-list at mulberrytech dot com
> i) parses as XML (so that it can be run thru XSLT again), and
> (ii) displays as HTML, with readable HTML tables
just specify the standard xhtml dtd using doctype-system and
doctype-public in xsl:output.
> (ii) displays as HTML, with readable HTML tables
that would be automatic so long as you take a bit of care over empty
element syntax.
> This file has 's in it, which can't be parsed unless ' '
> is defined in a DTD.
well it's in the standard HTML dtd which is why I suggest use that, but
_why_ has your file got nbsp in it, you must have had to work hard to
get that, if you had just let XSL put it out as character data you would
not have had this problem.
> To generate a doctype line use the doctype-system attribute to
> xsl:output.
> No, this gives me creatures like
> (xalan) <!DOCTYPE HTML SYSTEM "[<!ENTITY nbsp '#160'>]">
> (saxon) <!DOCTYPE html
> SYSTEM "[<!ENTITY nbsp '#160'>]">
> (xt) nothing at all.
er you didn't say what your input was, but it was the wrong thing:-)
I meant use
doctype-system="...the uri to the xhtml dtd ..."
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list