Skip to content

Possible to add/parse template at runtime? #785

Answered by mikke89
DOCaCola asked this question in Q&A
Discussion options

You must be logged in to vote

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 maybe Factory::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.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by DOCaCola
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants