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
Daniele Orlando edited this page Feb 21, 2016
·
2 revisions
Sometimes XML/XHTML comes from legacy templating systems or external sources. In those cases the raw XML fragment can be injected directly into the document.
$book->add('cover', true)
->add(<<
The Theory Of Everything
XML
);
Pro Tip:
The XML fragment doesn't need necessarily a root node, as in the example above.