Loading ...
Sorry, an error occurred while loading the content.

NewsItemRef/@NewsItem -> other NewsML files

Expand Messages
  • Dave.Compton@reuters.com
    The PFS states the following: In the case of NewsItems, the NewsItemRef provides a pointer to a NewsItem that is deemed to replace the NewsItemRef element. The
    Message 1 of 1 , Jul 2, 2004
    • 0 Attachment
      The PFS states the following:
      In the case of NewsItems, the NewsItemRef provides a pointer to a NewsItem that is deemed to replace the NewsItemRef element. The NewsItem attribute is a pointer to the relevant NewsItem. Its value can be
      i/ an http URL or
      ii/ a NewsML URN or
      iii/ a fragment identifier consisting of a # sign followed by the Duid of a NewsItem in the current document.
      The optional Comment allows opportunity to comment on the reason for including this NewsItem.

      Consider:
      <NewsItemRef Duid="ABC123" NewsItem="file.xml"/>

      In the above, the @NewsItem points to another (valid NewsML) document (case i/), and implies that the NewsItemRef is replaced by the NewsItem within the file (i.e. NewsML/NewsItem within file.xml).

      This is compliant with the way the NewsML Toolkit (Compton, Megginson) dereferences a @NewsItem. It effectively points to
      file.xml#xxx
      where
      xxx ::= NewsML/NewsItem[@Duid='xxx']
      as per case iii/

      Is there a more definitive statement re referencing NewsItems in other files?

      Rgds
      DC
      Dave Compton
      Technical Specialist
      News & Media
      Reuters Ltd.

      T: +44 0 20 7542 8341
      M: 07990 56 8341
      F: +44 0 20 7--- ----

      REUTERS.KNOW.NOW.
      www.reuters.com
      www.reuters.com/media




      -------------------------------------------------------------- --
      Visit our Internet site at http://www.reuters.com

      Get closer to the financial markets with Reuters Messaging - for more
      information and to register, visit http://www.reuters.com/messaging

      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.
    Your message has been successfully submitted and would be delivered to recipients shortly.