Home |
TVS Model
Introduction
The TVS model is an approach to XML encoding of MARC data that distinguishes three different levels of goals: Transport, Validation and Services. The theory behind this model is explained in a paper presented to the IFLA conference in Glasgow, August 2002: XML and bibliographic data: the TVS (Transport, Validation and Services) model , JOAQUIM DE CARVALHO (BookMARC/University of Coimbra, Coimbra, Portugal) and MARIA INÊS CORDEIRO (Art Library, Calouste Gulbenkian Foundation, Lisbon, Portugal) The key point in this approach is that by specifying requirements for XML usage at these three levels, in an articulated but distinct way, a much needed clarification about the role of XML in bibliographic systems can be achieved.
Transport formats
By “transport format” we mean an XML format designed to take a role similar to that of ISO 2709. Its purpose is to allow the efficient transport of bibliographic data. Like ISO 2709 such a format contains the necessary information for representing the morphological structure of the MARC record, i. e. without aiming at validation of the complete syntax/semantics of the MARC format, but rather mapping directly to the MARC record main structural levels. ISO 2709 was modelled to the needs of the technological environment of its time; an XML equivalent for the current technological context must target the interoperability paradigms of today: Web services. So far, most of the approaches to encoding bibliographic records in XML have been based on the assumption that the use of XML would imply the expression of the whole syntax/semantics of MARC, enforcing validation. Not only this approach has proved difficult (very complex and long DTDs or schema) but also it does not facilitate the transport and reuse of data in practical applications. This is because in such a way only valid records can be represented, and also because it is difficult to “rebuild” MARC data from the very complex MARC XML records generated in such a model.
BookMARC XML MARC for Services - XMS
By “transport format” we mean an XML format designed to take a role similar to that of ISO 2709. Its purpose is to allow the efficient transport of bibliographic data. Like ISO 2709 such a format contains the necessary information for representing the morphological structure of the MARC record, i. e. without aiming at validation of the complete syntax/semantics of the MARC format, but rather mapping directly to the MARC record main structural levels. ISO 2709 was modelled to the needs of the technological environment of its time; an XML equivalent for the current technological context must target the interoperability paradigms of today: Web services. So far, most of the approaches to encoding bibliographic records in XML have been based on the assumption that the use of XML would imply the expression of the whole syntax/semantics of MARC, enforcing validation. Not only this approach has proved difficult (very complex and long DTDs or schema) but also it does not facilitate the transport and reuse of data in practical applications. This is because in such a way only valid records can be represented, and also because it is difficult to “rebuild” MARC data from the very complex MARC XML records generated in such a model. BookMARC XML MARC for Services - XMS The XML MARC for Services (XMS) schema addresses the issues of integrating MARC data in the software architecture of Web Services by providing a format that is automatically handled by frameworks like .NET or AXIS for Java. XMS allows these automatically frameworks to produce complex data strucutures representing bibliographic data, therefore simplifying greatly the programmers' work in building applications to access bibliographic databases. The main difference from XMS to other transport formats is that is includes information about data types and follows the encoding rules of SOAP, the underlying protocol of Web Services. XMS is tested against the main Web Services frameworks. A summary of XMS features:
XMS Schema Other transport formats Other transport formats are available from several sources, including the Library of Congress. These formats are similar in philosophy to our XMS format. The main difference is that XMS is target to WSDL integration and to automatic serialization. LoC MARC XML Schema Transport formats conversion stylesheets The new LoC XML "slim" format is a great improvement over the previous schema, which targeted a self-validating schema which would allow only valid records. However, the new LoC format does not fit easily with current Web services frameworks, mainly because of the usage of XML attributtes and NMTOKENS. The following stylesheets convert to and from the LoC XMLMarc format and XMS. XMS to LoC MARC conversion stylesheet
Validation formats
A validation format is a schema for representing of the meta-information necessary to validate and document MARC records. You can see it as an XML version of the MARC or UNIMARC manual. In the TVS model the validation format has the central task of keeping the validation rules as data. This can be used for validation software, for the automatic production of documentation and for "explaining a record", decoding the meaning of a specific field, data element, etc. by looking it up automatically in the machine-readable manual.
Services
The next generation of interoperability frameworks will use self-describing services. The Web Services Description Language (WSDL) allows a library to provide access to its information systems in an easy and mainstream way, greatly increasing the integration potential with other software systems. The National Library of Portugal is prototyping this new approach using the XMS transport service for data exchange. See the next section on how the access these Web services.
Consuming the services If you are a programmer and want to test the above Web Services check this technotes on how to quickly produce your own client code. Visual Studio .Net Sample clients We provide sample clients with source code for tutorial purposes: Visual BASIC .NET clients
Java/Axis Client
Comments and requests for more information |
BookMARC,
Serviços de Informação
Bibliográfica, Lda Avenida Mendes Silva, 561, R/C Dto, 3030-193 Coimbra, Portugal Phone: +351 239 406 369 | Fax: +351 239 704 160 Web:www.bookmarc.pt contacts:info@bookmarc.pt |