Grin with cat attached (wechsler) wrote,
Grin with cat attached

  • Mood:

XSL query

I need to insert a bunch of CDATA sections around certain XML tags with XSLT (I want to be able to use a stream parser on the resulting data and treat various parts as CDATA rather than tags & content). However I can't get the CDATA block in there without it stopping XSL processing (unsurprisingly enough) or breaking the XSL

Best attempt is:

<xsl:template match="flashXML|text">
<xsl:apply-templates />

but then my output is &lt;![CDATA[...

Anyone help with this? I'm really not having a great day after last night's lack of sleep and XSL is far too new to me...
Tags: tech
  • Post a new comment


    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded