-
Is it possible to add template elements at runtime that will be parsed into their final rml? Currently trying to add a template to my rml document like this:
However the template element isnt' being resolved into their respective nodes. When i output the generated rml the template element is not being resolved. Do i have to trigger this manually somehow, or is not possible to use templates like this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello! The templates are resolved as part of the RML parsing, so it won't really work when constructing the elements directly. You could try to use |
Beta Was this translation helpful? Give feedback.
-
Thanks. Both seem to work fine in parsing and resolving the template. |
Beta Was this translation helpful? Give feedback.
Hello!
The templates are resolved as part of the RML parsing, so it won't really work when constructing the elements directly.
You could try to use
Element::SetInnerRML
, or maybeFactory::InstanceElementText
directly if you want to append the elements without clearing the existing children. I haven't really tested this, so let me know how it goes.