Using an HTML entity in XSLT (e.g.  )

前端 未结 11 2086
无人及你
无人及你 2020-11-28 07:29

What is the best way to include an html entity in XSLT?


    
    &am         


        
11条回答
  •  温柔的废话
    2020-11-28 08:04

    Now that there's Unicode, it's generally counter-productive to use named character entities. I would recommend using the Unicode character for a non-breaking space instead of an entity, just for that reason. Alternatively, you could use the entity  ;, instead of the named entity. Using named entities makes your XML dependent on an inline or external DTD.

提交回复
热议问题