Warning:
This wiki has been archived and is now read-only.

XSLT-Enhanced XML Include

From Argumentation Community Group
Jump to: navigation, search
<include xmlns="{1}" href="example.xslt" src="optional.xml" select="optional XSLT expression">
  <{2} name="..." value="..." as="optional:type" />
  <{2} name="..." as="optional:type">
    <!-- XML -->
  </{2}>
</include>

Open Topics

In addition to formulating and specifying a format, open topics include:

1. The name of the format to be specified, the title of the specification, tentatively "XSLT-Enhanced XML Include"

2. XML tree merging and/or XML parameters:

<include xmlns="{1}" href="an_argument.xslt">
  <{3} select="XPath to supporting arguments" method="append">
    <include href="another_argument.xslt"/>
  </{3}>
</include>

Illustrative combination with macros:

<include xmlns="{1}" href="an_argument.xslt">
  <{3} select="XPath to supporting arguments" method="append">
    <macro:example macro:parameter="value"/>
  </{3}>
</include>

With XML parameters, also possible:

<include xmlns="{1}" href="an_argument.xslt">
  <{2} name="... supporting arguments...">
    <include href="another_argument.xslt"/>
  </{2}>
</include>