You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a root element named "concepts" and i need to add a "concept" but i can't add it with ".ele() function"
let nodeConcepts = xmlBuilder.begin().ele("concepts");
let nodeConcept = xmlBuilder.begin().ele("concept", {
Quantity: 1,
Price: 10
});
nodeConcepts.ele(nodeConcept);
But i get the following error:
RangeError: Maximum call stack size exceeded
I'm trying to do like this, because the node "nodeConcept" can have multiple childs depending on some conditions, and then i add it to the global nodeConcepts to have a final XML tree.
Do you know how to do it? Thanks a lot.
The text was updated successfully, but these errors were encountered:
I have a root element named "concepts" and i need to add a "concept" but i can't add it with ".ele() function"
But i get the following error:
RangeError: Maximum call stack size exceeded
I'm trying to do like this, because the node "nodeConcept" can have multiple childs depending on some conditions, and then i add it to the global nodeConcepts to have a final XML tree.
Do you know how to do it? Thanks a lot.
The text was updated successfully, but these errors were encountered: