added body to document
This commit is contained in:
@ -1,4 +1,5 @@
|
|||||||
import {XmlComponent, Attributes} from "../xml-components";
|
import {XmlComponent, Attributes} from "../xml-components";
|
||||||
|
import {Body} from "./body";
|
||||||
|
|
||||||
export class Document {
|
export class Document {
|
||||||
private document: Array<XmlComponent>;
|
private document: Array<XmlComponent>;
|
||||||
@ -6,7 +7,7 @@ export class Document {
|
|||||||
constructor() {
|
constructor() {
|
||||||
this.document = new Array<XmlComponent>();
|
this.document = new Array<XmlComponent>();
|
||||||
this.document.push(new Attributes({}));
|
this.document.push(new Attributes({}));
|
||||||
this.
|
this.document.push(new Body());
|
||||||
}
|
}
|
||||||
|
|
||||||
test() {
|
test() {
|
||||||
|
Reference in New Issue
Block a user