fix(core): update
This commit is contained in:
@ -9,7 +9,10 @@ export class SmartXml {
|
||||
}
|
||||
|
||||
public createXmlFromObject(jsObject: any): string {
|
||||
const jsToXmlParser = new plugins.fastXmlParser.j2xParser({});
|
||||
const jsToXmlParser = new plugins.fastXmlParser.j2xParser({
|
||||
ignoreAttributes: false,
|
||||
attributeNamePrefix: "@_"
|
||||
});
|
||||
const xml = jsToXmlParser.parse(jsObject);
|
||||
return xml;
|
||||
}
|
||||
|
Reference in New Issue
Block a user