Skip to content

Is it possible to turn an xmlElement into text #91

@jhonathas

Description

@jhonathas

For example:

<features>
  <feature>example 1</feature>
  <feature>example 1</feature>
</features>

xpath(doc, ~x"./features") |> to_string()

And I would like it to print the exact block in XML format instead of an xmlElement

<features>
  <feature>example 1</feature>
  <feature>example 1</feature>
</features>

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