Enabling the use of GRDDL with NewsML 2

I think that the first thing we should do is allow the use of the 
GRDDL "transformation" attribute on our root elements.  We need to 
do this for two reasons:

1.  Our namespace URIs are currently URNs, so one can't find a 
    GRDDL transform by following them.

2.  Even if/when we change the above, we will need to allow 
    providers to specify GRDDL transforms which can cope with 
    proprietary extensions.

So, looking at:
  http://www.w3.org/2004/01/rdxh/spec#grddl-xml
we need to add the GRDDL "transformation" attribute.  Take, for 
example, the package sample at:
  http://www.iptc.org/NAR/1.0/examples/tutorials/Example-Package.xml

We can change the initial:

  <pkg:item 
    schema="0.6" 
    guid="urn:newsml:iptc.org:20060112:package1" 
    version="4" 
    xmlns:pkg="urn:iptc:std:package:1.0:xmlns" 
    xmlns="urn:iptc:std:newsml:2.0:xmlns"
  >

to:

  <pkg:item 
    schema="0.6" 
    guid="urn:newsml:iptc.org:20060112:package1" 
    version="4" 
    xmlns:pkg="urn:iptc:std:package:1.0:xmlns" 
    xmlns="urn:iptc:std:newsml:2.0:xmlns"
+   xmlns:data-view="http://www.w3.org/2003/g/data-view#"
+   data-view:transformation=
+     "http://www.iptc.org/NAR/1.0/contributions/NewsML2-N3_3.xsl"
  >

The added lines are marked with "+".

I imagine that the example and the transform are currently not in 
synch, but we can fix that before long.

Misha
------------------- NewsML 2 resources ------------------------------
http://www.iptc.org/        | http://www.iptc.org/NAR/
http://www.iptc.org/NAR/1.0 | http://groups.yahoo.com/group/newsml-2/


To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.

Received on Monday, 13 March 2006 12:36:49 UTC