Subject: RE: [xsl] CDATA section From: aruniima.chakrabarti@xxxxxxxxxxxxxxxxxx Date: Tue, 10 Sep 2002 15:08:09 +0530 |
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@xxxxxxxx] Sent: Monday, September 09, 2002 11:17 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] CDATA section aruniima.chakrabarti@xxxxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] CDATA section, Mike Brown | Thread | Re: [xsl] CDATA section, Mike Brown |
[xsl] add elements THANK YOU!, Naraschewski, E. | Date | RE: [xsl] Looking for a book recomm, roger . day |
Month |