Re: [xsl] CDATA section

Subject: Re: [xsl] CDATA section
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Mon, 9 Sep 2002 03:00:12 -0700
On Monday 09 September 2002 02:49, David Carlisle wrote:
> > What can be done to achieve a character by character equivalence while
> > transformation

What David said.  XML is not designed for this, and therefore XSLT is also not 
designed to be able to do what you want.

If you're database requires text-based comparison and processing, then use a 
text-based (not XML-based) tool to do the work.  You really shouldn't even be 
using XML in a system that doesn't support it, because things *will* break 
when one of your true XML tools changes something in a way that your 
text-based tools don't expect.

If you can plug in XML support into your database, then you should do that.  
If you're worried about the performance overhead from XML parsers, you can 
work around that by using a better model (like you said in your previous 
messages, DOM will not work well, but I'm sure you can write your own 
SAX-model parser to do the comparison).  If you're more worried about 
performance or buzzword-"XML"-compliance than getting everything to work 
together, including your legacy systems, then you need to reevaluate the 
project.

Sorry to break it to you, buddy :)

-- 
Peter Davis

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread