Re: [xslt] handling of < in CDATA sections



Daniel Veillard wrote:
  CDATA does not exist in the XPAth data model. I.e. XSLT does not see
CDATA in any input or generated tree, only text nodes with the associated
text value. What you're trying to do is not possible in XSLT.
  The only thing you can do:
    - force some element content to be CDATA
      http://www.w3.org/TR/xslt#section-XML-Output-Method
      using cdata-section-elements
    - disable escaping for some specific text nodes
      http://www.w3.org/TR/xslt#disable-output-escaping

Aha yes this method works just fine! Thanks a lot Daniel.


cheers,

roel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]