users
[Top] [All Lists]

Re: [cinjug-users] Passing XHTML entities through a transform

To: Creighton Kirkendall <ckirkendall@xxxxxxxxxxxxxx>
Subject: Re: [cinjug-users] Passing XHTML entities through a transform
From: Eric Galluzzo <egalluzzo@xxxxxxxxxxxxxxx>
Date: Wed, 12 Oct 2005 14:11:08 -0400
Cc: Brian Bonner <brian.bonner@xxxxxxxxxxxx>, users@xxxxxxxxxx
Delivered-to: mailing list users@cinjug.org
In-reply-to: <1129140340.3622.104.camel@localhost.localdomain>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
References: <1129138621.3622.96.camel@localhost.localdomain> <434D4C7E.9010109@paraware.com> <1129140340.3622.104.camel@localhost.localdomain>
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)
Creighton Kirkendall wrote:

I am actually using xtags but the same basic problem exits with xsl. At
parse time the entities are replaced. This means that copy-of which I
need has already had the data replaced by the time I get access to it.


<xtags:parse>
<xtags:parse ><?xml version="1.0"?>
<html>
<body>
<p>This is a test of &Alpha;</p>
</body>
</html>
</xtags:parse>


One problem is that &Alpha; is not a valid XML character entity unless you define it as such via an <!ENTITY> declaration in your DTD. (XML does not include the HTML character entities by default.) In fact, I'm surprised this parses. I'm also not familiar with xtags, so I may be missing something.

   - Eric


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