Skip to content

missing support for sorted attributes #14

Closed
@JeffreySarnoff

Description

@JeffreySarnoff

This request and its solution are presented here, in discourse.
Using an ordered dictionary (preferably Dictionary) would maintain the order of attributes.

The use case:

  • Suppose I have an XML tag:
    • The x, y, and z attributes are ordered; this helps when editing point data.
julia> using XML
julia> xyz  = XML.Element("point", x=1, y=2, z=3)
  Node Element <point x="1" z="3" y="2">

xyz does not remain x, y, z ordered

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions