mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
parent
9183870b9e
commit
f859cd11bd
@ -48,6 +48,10 @@ The '<output>' node can contain the following sub nodes:
|
||||
has an 'input' attribute, the content of the specified input is taken
|
||||
as attribute value.
|
||||
|
||||
:'<node>':
|
||||
Adds a sub node with the specified 'type'. The content of <node> is evaluated
|
||||
to generate the content of the added sub node.
|
||||
|
||||
|
||||
Conditions
|
||||
----------
|
||||
|
@ -321,6 +321,12 @@ void Rom_filter::Main::_evaluate_node(Xml_node node, Xml_generator &xml)
|
||||
}
|
||||
} else
|
||||
|
||||
if (node.has_type("node")) {
|
||||
xml.node(node.attribute_value("type", Genode::String<128>()).string(), [&]() {
|
||||
_evaluate_node(node, xml);
|
||||
});
|
||||
} else
|
||||
|
||||
if (node.has_type("inline")) {
|
||||
|
||||
node.with_raw_content([&] (char const *src, size_t len) {
|
||||
|
Loading…
Reference in New Issue
Block a user