Skip to content

JSX-compatible XMLNode factory #15

@sophiebremer

Description

@sophiebremer

Is your feature request related to a problem? Please describe.
There is no way to create XML in JSX-syntax.

Describe the solution you'd like
TypeScript allows the definition of a JSX factory in tsconfig.json, that it will use as the compilation target of TSX. The library should provide such factory, that can be used manually and by TypeScript.

Describe alternatives you've considered
An alternative could be https://github.com/tracespace/xml-element-string, but it lacks nearly all XML features and typing.

Additional context
https://www.typescriptlang.org/tsconfig#jsxFactory
https://www.typescriptlang.org/docs/handbook/jsx.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions