This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Writing external entities to HTML file
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Cc: sintac at home dot nl
- Date: Fri, 16 Nov 2001 16:32:54 GMT
- Subject: Re: [xsl] Writing external entities to HTML file
- References: <3BF5484C.29866.1BC9B17@localhost>
- Reply-to: xsl-list at lists dot mulberrytech dot com
using xslt you can't easily output entity references.
While this is sometimes inconvenient, 99 times out of a hundred, when
people ask for this facility theydon't actually need it and XSLT will
just automatically do something equivalent on its own.
But you said your entities were to graphics files, are they NDATA
entities, that you reference as <xxx yyy="entityname"/> or are they
somehow general entities that you need to refertpo a &entityname;
oh but you said you were writing HTMl so they can't be NDATA.
The XSL way normally would just to write out the definition of the
general entity in place rather tahn make a reference, is that
unsuitable? especially for HTMl it seems more portable.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list