xsl-list
[Top] [All Lists]

RE: CDATA section

2002-09-10 02:38:09
Hi Mike,
 Maybe u r right but unfortunately that's where I cannot do much as I have
to come up xsl once the requirement is given to me. Commenting on the data
design, that's something beyond me & if u understand, the concerned ppl
aren't easily convinced on such issues. Thank you for helping me to solve my
problems. But I hope u will forgive me for posting questions which result
poor data model. Though this is very good learning for me as I will keep all
this in mind for the future...when I am the person who is making the design
decisions...:)

Regards,
aruniima

 -----Original Message-----
From:   Mike Brown [mailto:mike(_at_)skew(_dot_)org] 
Sent:   Monday, September 09, 2002 11:17 PM
To:     xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject:        Re: [xsl] CDATA section

aruniima(_dot_)chakrabarti(_at_)iflexsolutions(_dot_)com wrote:
Hello,
If a CDATA is present, it parses whatever is written in the source XML and
does not give the absolute identical output XML.
What can be done to achieve a character by character equivalence while
transformation

Regards,
aruniima

Aruniima,

Almost all of your questions to this list in the last few weeks have
indicated
that you have XML in which very poor design / data modeling decisions have
been made.

These mistakes are forgiveable, since unless things have changed recently,
the
average XML tutorial chooses to make XML seem simpler than it is, and
doesn't
cover the important concepts first (encoding, lexical vs logical constructs,
and little details like what CDATA really means, whether and how to embed
markup as character data, and the fact that parsers consider attributes to
be
unordered) .. or doesn't cover these concepts at all.

If I were you, I would seriously consider refactoring your XML so that it is
easier to process with XSLT; doing so will make it easier to process 
everywhere.

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

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

This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--------------------------------------------------------------------------

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



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