Is it possible in XSLT to parse a CDATA node into a document node (assuming that there is a valid document in the CDATA node)?
No, most importantly because XSLT has no clue what's CDATA and what isn't (and secondly because it can't parse strings). Don't use CDATA sections as structure. They're syntax sugar, nothing more.
Exercise: go through your documents and replace all CDATA sections with escaped text that uses < and &. If anything breaks, you're doing something wrong.
--
+-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer | +-----------------------+------------------------+-------------------+ | The XML Bible, 2nd Edition (Hungry Minds, 2001) | | http://www.cafeconleche.org/books/bible2/ | | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | +----------------------------------+---------------------------------+
