Re: [xsl] XSL & Entities

Subject: Re: [xsl] XSL & Entities
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 2 Mar 2005 10:04:03 GMT
> 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
________________________________________________________________________

Current Thread
  • [xsl] XSL & Entities
    • c p - Tue, 1 Mar 2005 15:53:58 -0800 (PST)
      • David Carlisle - Wed, 2 Mar 2005 00:08:36 GMT
        • c p - Tue, 1 Mar 2005 16:22:05 -0800 (PST)
          • David Carlisle - Wed, 2 Mar 2005 10:04:03 GMT <=
          • c p - Wed, 2 Mar 2005 08:19:34 -0800 (PST)
          • c p - Wed, 2 Mar 2005 08:24:07 -0800 (PST)
          • c p - Wed, 2 Mar 2005 08:24:17 -0800 (PST)
          • David Carlisle - Wed, 2 Mar 2005 16:44:52 GMT