Re: [xsl] Entities in XSLT (from XML parsing to XSLT processing to output)

Subject: Re: [xsl] Entities in XSLT (from XML parsing to XSLT processing to output)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 16 Dec 2009 15:58:18 GMT
there are so few words in the early slides that it's hard to be sure
but it seems pretty confusing.

firstly it's about entity handling but doesn't mention dtds (the only
place any entities other han the 5 predefined entities can be defined)

secondly it calls " etc illegal characters which is not standard
terminoligy and misleading as  apart from < and & most of them are
perfectly fine as character data and don't need to be escaped in any

I can't understand stage (2) on slide 4 where  <xsl:text> is still
<xsl:text> but the quoting on <author> has gone.

same issue on slide 5

slide 7 appears to be suggesting using D-O-E which is always bad advice
as it's explictly non-portable and deprecated. _especially_ in a browser
where it doesn't workk in firefox for example as firefox never
serialises the result document. 

If you want to generate <author></author> in the result the advice
should be to use <author></author>  in the stylesheet, not to use 
&lt;author>&lt;/author>  and then try to disable the escaping.


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 

Current Thread