Apply transforms to XML attribute containing escaped HTML

后端 未结 2 427
春和景丽
春和景丽 2021-01-27 16:07

I have some XML that looks like this:



    

        
2条回答
  •  忘了有多久
    2021-01-27 17:04

    You cannot apply templates to unparsed (escaped or CDATA) text. See some previous answers that may be relevant to you:

    Parsing html with xslt

    XSLT: Reading a param that's an xml document passed as a string

    how to parse the xml inside CDATA of another xml using xslt?

提交回复
热议问题