Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 860 Bytes

XmlElemOptions.md

File metadata and controls

42 lines (24 loc) · 860 Bytes

xml-class-transformer / XmlElemOptions

Interface: XmlElemOptions

Table of contents

Properties

Properties

name

Optional name: string

XML element name. If not specified, the class name will be used.

Defined in

src/types.ts:48


xmlns

Optional xmlns: string

The xmlns attribute value. Specifies the default XML namespace. This is just a shortcut for the @XmlAttribute({ name: 'xmlns', type: () => String }) property decorator.

Example

{ xmlns: 'http://s3.amazonaws.com/doc/2006-03-01/' }

Defined in

src/types.ts:42