Preserving attribute whitespace

前端 未结 4 1290
说谎
说谎 2020-12-01 18:54

Disclaimer: the following is a sin against XML. That\'s why I\'m trying to change it with XSLT :)

My XML currently looks like this:


            


        
4条回答
  •  庸人自扰
    2020-12-01 19:49

    According to the Annotated XML Spec, white space in attribute values are normalized by the XML processor (See the (T) annotation on 3.3.3). So, it looks like the answer is probably no.

提交回复
热议问题