一种表示数据值的方式是,将数据值放入子元素中;另一种方式是将数据值放入属性值中。
One way to indicate a data value is to put it inside a subelement; another way is to put it in attribute values.
如果您的数据可以容易地表示为简单对象而不是像字符串和数字这种分离的值时,它会很有用。
This is useful if your data is easily expressed as simple objects, rather than as separate values like strings and Numbers.
部分原因是因为映射绑定使用了数据值的紧凑表示。
This is partially because the mapped binding USES a very compact representation for data values.
应用推荐