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

Re: Getting the © from XML to HTML


Subject: Re: Getting the © from XML to HTML
From: Keith Visco <kvisco@xxxxxxxxx>
Date: Mon, 12 Oct 1998 12:50:28 -0400

Andrew,

You can also use &amp;copy; The XML parser will map the first entity to
& and your output will contain your desired entity..&copy;

--Keith

Andrew Bunner wrote:
> 
> >How to I get things like &copy; and &uuml; from an XML document into
> >an HTML document. It (obviously, you will say) doesn't like it in the
> >XML nor the XSL file.
> 
>    Here is the solution I'm using... get the latest version of XT and include
> &#169; in the source file ... XT is smart enough to map it to &copy; in the
> result file if the root element of your style sheet looks like this...
> 
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"
> xmlns="http://www.w3.org/TR/REC-html40" result-ns="">
> 
> -- Andrew
> 
>    Andrew Bunner           bunner@xxxxxxxxxxxxxxxxxx
>    President, Mass Quantities, Inc.
>    Professional Supplements for the Perfect Physique
>    http://www.massquantities.com
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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



Current Thread
Keywords