<xsql:include-xsql>

Includes the XML output of another XSQL page.

XSQL Syntax

<xsql:include-xsql
  href="url"
  [ reparse="boolean" ]
/>

Examples

The examples below show how to specify a relative URL, pass parameters, and use a parameterized name.

Includes XSQL page result (specifying a relative URL):

<xsql:include-xsql href="order/orders.xsql"/>

Includes XSQL page result, passing parameters:

<xsql:include-xsql href="orders.xsql?cust={@id}"/>

Includes XSQL page result, using a parameterized name and passing parameters:

<xsql:include-xsql href="{@pagename}?cust={@id}"/>

Description

Includes the XML output of another XSQL page. Use this tag to create a hierarchical page from XML produced by other pages.

Attributes