Re: Processing meta deta (or why XSL 1.0 is broken)

Subject: Re: Processing meta deta (or why XSL 1.0 is broken)
From: Scott Vanderbilt <lists@xxxxxxxxxxx>
Date: Mon, 7 Sep 1998 11:02:47 -0700
At 6:16 PM +0100 9/7/98, Henry S. Thompson wrote:

>There are two things to say about the above:
>
>1) It's a flaw which I expect will be corrected that you can't say
>
>    <xsl:template match="document/description">
>      <meta name="content" description="{.}"/>
>    </xsl:template>
>
>2) It's a feature :-) that you will get an XML empty element in your
>   output:  HTML as it stands is not valid XML.


Similarly, what if I want to include a processing instruction in my HTML
output, e.g.:

   <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

I cannot figure out how to include a processing instruction of any kind
since XT complains when it meets the "<!" PI start tag. That would include
internal ENTITY definitions as well.

Thanks in advance.

==========================================================================
Scott D. Vanderbilt                               mailto:scott@xxxxxxxxxxx
Luminous Dataworks
Phone: (310) 253-9918                            Custom database solutions
Fax:   (310) 842-7025                               for the World Wide Web
==========================================================================



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


Current Thread