How to dynamically load an XML fragment in XML view?

前端 未结 2 1923
有刺的猬
有刺的猬 2021-01-05 17:04

Suppose I have the following XML view:


    
        &l         


        
2条回答
  •  耶瑟儿~
    2021-01-05 17:19

    The fragment name can also result from a binding, including an expression binding which evaluates to a constant. As formatter functions return strings, and not booleans, === 'true' has been added in the following example:

    Example: Dynamic Fragment Name

    
    

提交回复
热议问题