- From: Adam Sobieski <adamsobieski@hotmail.com>
- Date: Thu, 25 Apr 2013 17:42:59 +0000
- To: "public-argumentation@w3.org" <public-argumentation@w3.org>
- Message-ID: <SNT138-W17984AD768B0BE7AD8AF95C5B60@phx.gbl>
Argumentation Community Group,
Greetings. I would like to broach, for discussion, some initial
implementation ideas for an XSLT-Enhanced XML Include. XSLT-Enhanced XML include is envisioned as
generally useful with a superset of XInclude 1.0 functionality (http://www.w3.org/TR/xinclude/) and can facilitate expressiveness for a new
argumentation interchange and representation format.
There are a few implementation options and one, focusing on features not in XInclude 1.0, resembles:
<include xmlns="{1}" href="example.xslt" src="optional.xml" select="optional XSLT expression"gt;
<{2} name="..." value="..." as="optional:type" /gt;
<{2} name="..." as="optional:type"gt;
<!-- xml --gt;
</{2}gt;
</includegt;
which enhances interoperability with XSLT stylesheets and transforms (http://www.w3.org/TR/xslt#named-templates, http://www.w3.org/TR/xslt20/#callable-components, http://www.w3.org/TR/xslt20/#initiating). Other new feature ideas include combining XML trees, utilizing XPath (http://www.w3.org/TR/xpath20/).
An example:
<include href="an_argument.xslt">
<{3} select="XPath to supporting arguments" method="append">
<include href="another_argument.xslt"/>
</{3}>
</include>
Another example illustrating a combination of XSLT-enhanced XML include and XML macros:
<include href="an_argument.xslt">
<{3} select="XPath to supporting arguments" method="append">
<macro:example macro:parameter="value"/>
</{3}>
</include>
As interesting, we can discuss XSLT-enhanced XML include here, related implementation
and specification topics, as well as other topics (such as 1, 2, 3 and 4
from http://www.w3.org/community/argumentation/2013/04/24/argumentation-interchange-and-representation-format/)
en route to specification processes of both general use and of specific
use to a new argumentation interchange and representation format.
Kind regards,
Adam Sobieski
Received on Thursday, 25 April 2013 17:43:26 UTC