xsl-list
[Top] [All Lists]

Re: XSL & Entities

2005-03-02 03:04:03


My bad the entity is described with NDATA. 

hmph that wasn't what you said originally:-)

In that case it's supposed to work _except_ that a non validating parser
is allowed to not read the external files in a DTD in which case your
system may not have seen the entity definition at all. (What happens if
you put a syntax error in that file such as a fre random < not in an
entity declaration, does it notice?

If thta's the problem you may be able to configure your parser to read
the dtd (irt depends on the parser) or you can put the declaration in an
internal subset

<!DOCTYPE foo [
<!ENTITY CorporateLogo SYSTEM
"images/corporateLogo.gif" NDATA saetiff>
]>
<foo>
...
<bar imagename="CorporateLogo" ...


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>