[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: XSL and entities


Subject: Re: XSL and entities
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Sat, 19 Sep 1998 10:40:07 -0500

>   The problem appears during the HTML transformation.
> It produces this result :
>           <pre>
> <!ELEMENT paragraph (#PCDATA)*>
> 
> <!ELEMENT item (paragraph)+>
> 
> <!ELEMENT list (item)+>
> <!ATTLIST list
>         type (ordered|unordered) "unordered">      
>     </pre>

What XSL processor are you using? This does not look right.

Nevertheless, you should know that you are probably doomed to failure
using XSL out-of-the-box as a generic XML->foo conversion tool. That's not
what it is meant to do and XSL processors do not support it well. Half of
the messages in this fora are from people trying to do that and finding it
difficult or impossible. 

XSL procesors will not, in general, produce valid HTML, LaTeX or anything
else. The HTML might be close enough to satisfy the browsers, in some
cases, but it isn't valid.

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

The past is inaccurate. Whoever lives long enough knows how much what he
had seen with his own eyes becomes overgrown with rumor, legend a
magnifying or belittling hearsay. "It was not like that at all!" -- 
he would like to exclaim, but will not, for they would have seen only 
his moving lips without hearing his voice. - Czeslaw Milosz (translated)


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xsl