Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Change Prefix name for Elements #11

Open

Description

@microshine
  • Use the same prefix for all children elements

Right now to change prefix we need to update static values or set Prefix for each object

for (const key in xadesjs.xml) {
  const xadesClass = xadesjs.xml[key]
  if (xadesClass.prefix === "xades") {
    xadesClass.prefix = "etsi";
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions