|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Container for metadata about the document or its parent element, such as authorship, licensing, or RDF descriptions.
The <metadata> element and its contents are never rendered.
<metadata> is a descriptive element. SVG metadata is often structured data from another XML namespace (for example, Dublin Core or RDF), and is meaningful only to processors that understand that data, not to the SVG renderer. Donner recognizes the element so it is not treated as an unknown element and keeps it out of the render tree. The convenience SVGMetadataElement::textContent accessor retains only direct text and CDATA children; it does not concatenate text nested inside child elements.
The concatenated direct text and CDATA content is available programmatically via SVGMetadataElement::textContent. Because the element is non-rendered, <metadata> never changes the rendered pixels.