In XSP, is it possible to include either an XML file or the XML output of another XSP file into an XSP document

 

Eg if I wanted to include the XML

 

<?xml version="1.0" encoding="UTF-8"?>

<navigation>

  <item link=”blah text=”blah”/>

</navigation>

 

into my XSP document

 

<?xml version="1.0" encoding="UTF-8"?>

<xsp:page xmlns:xsp="http://apache.org/xsp">

  <page>

    <title>Blah</title>

 

    <!-- Want to insert the XML here -->

 

    <main>

      <item>

        <title>Blah/title>

        <body>Blah</body>

      </item>

    </main>

  </page>

</xsp:page>

 

I have fiddled around with xsp:include but have not yet cracked it - cheers

 

Tom

Reply via email to