- From: McBride, Brian <brian.mcbride@hp.com>
- Date: Sat, 16 Dec 2006 03:17:25 -0000
- To: <public-grddl-wg@w3.org>
We had a useful discussion at last Wednesday's call. Since then I've
had a look at the XPROC spec and I think I may now agree with Murray.
I expect we will have several test cases. Here is one. It is a
negative test case. The result document is not a GRDDL result of the
input document.
Input Document:
<foo xmlns="http://example.org/ns#"
xmlns:data-view="http://www.w3.org/2003/g/data-view#"
data-view:transformation="foo.xsl" />
Transform:
<xsl:transform
xmlns:xsl ="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:ex ="http://example.org"
>
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<rdf:RDF>
<rdf:Description rdf:about="http://example.org/foo">
<ex:bar1>bar1</ex:bar1>
<ex:bar2>bar2</ex:bar2>
</rdf:RDF>
</xsl:template>
</xsl:transform>
The following is NOT a GRDDL result of the input document:
<rdf:RDF
xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:ex ="http://example.org">
<rdf:Description rdf:about="http://example.org/foo">
<ex:bar1>bar1</ex:bar1>
</rdf:Description>
</rdf:RDF>
[1] http://www.w3.org/TR/xproc/
Received on Saturday, 16 December 2006 03:17:39 UTC