You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building from objects, it is currently either possible to set a specific order for child elements, or to set attributes on the parent. However, it is not possible to do both, i.e. having an ordered set of children, while also providing attributes for the parent node.
Example: Set specific order for child elements, but no attribute on parent
It would be nice, though, to be able to setting attributes on the parent element as well as preserving the explicit order of the child elements. So that we can create the following:
When building from objects, it is currently either possible to set a specific order for child elements, or to set attributes on the parent. However, it is not possible to do both, i.e. having an ordered set of children, while also providing attributes for the parent node.
Example: Set specific order for child elements, but no attribute on parent
Example: Set attributes on parent element, but lose order for child elements
It would be nice, though, to be able to setting attributes on the parent element as well as preserving the explicit order of the child elements. So that we can create the following:
The text was updated successfully, but these errors were encountered: