Using XInclude with SXG files

<?xml version="1.0"?>

<sxg xmlns:xi="">

  <picture id="checkerboard">

  <!-- -->
  <xi:include href="radio1.sxg" xpointer="xpointer(/sxg/*)" />


SXG files can use XInclude to assemble the XML document. The SXG file gets processed only after the entire document gets created. The order in which individual elements in the document get processed:

Even though the above example includes the radio1.sxg document after its own picture, this document's render and gc elements can reference pictures and fonts from radio1.sxg.