1 / 17

Multimedia Communication and Information Logistics for AFTER-SALES AND PRODUCT LIFE-CYCLE SUPPORT

Click to edit Master title style. Multimedia Communication and Information Logistics for AFTER-SALES AND PRODUCT LIFE-CYCLE SUPPORT. www.remtec.fi. BUILDING WWW APPLICATIONS WITH XML FORMS. Kaisa Kostiainen XML Finland ‘99 Helsinki Fair Center 23.9.1999. CONTENTS. Introduction

acton
Télécharger la présentation

Multimedia Communication and Information Logistics for AFTER-SALES AND PRODUCT LIFE-CYCLE SUPPORT

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Click to edit Master title style Multimedia Communication and Information Logistics for AFTER-SALES AND PRODUCT LIFE-CYCLE SUPPORT www.remtec.fi

  2. BUILDING WWW APPLICATIONS WITH XML FORMS Kaisa Kostiainen XML Finland ‘99 Helsinki Fair Center 23.9.1999

  3. CONTENTS • Introduction • Reporting Tool • RPX Forms architecture • RPX Forms examples • Conclusions

  4. XML AND WWW APPLICATIONS • system-to-system interchange format • distributed, heterogenous data sources • database interface • lack of mechanism to update XML data according to user’s input

  5. PROPOSALS POSTED TO W3C • XFA • http://www.w3.org/1999/05/XFA/xfa-template.htm • XFDL • http://www.w3.org/TR/NOTE-XFDL.html • both require a plug-in at the browser

  6. CASE: REPORTING TOOL • WWW application for Wärtsilä NSD Service • enables the workflow of the service reports • forwards data as XML format to other applications • invoicing • document management • knowledge discovery • etc.

  7. CASE: REPORTING TOOL • handles over hundred technical records • the structure of the technical data hard to generalize • creating and adding new technical records has to be easy • high quality of printing

  8. DIFFERENT OPTIONS • HTML Forms • too labourious to write software • XSL Transformation from XML data • the lack of proper XSL development tools causes the creation of technical records very painful for the developer

  9. RPX FORMS • form data is separated from user interface • form DTD is pre-defined • form data can be any XML data • uses RPX Form filter language for binding form input elements to data

  10. EXAMPLE • <Form> • <Field label="Company name:" hint="Name of company"> • <rpxf:value-of select="/Customer/CompanyName"/> • </Field> • <Field label="Street address:"> • <rpxf:value-of select="/Customer/StreetAddress"/> • </Field> • </Form> • <Data> • <Customer> • <CompanyName>Remtec Systems<CompanyName> • <StreetAddress>Tekniikantie 12<StreetAddress> • </Customer> • </Data>

  11. Form design Form DTD Form XML Form XSL Binding XML/XSL Transform Form XML Browser HTML Data Data Data Decoding Browser UI Data sources RPX Service RPX FORMS ARCHITECTURE

  12. RPX FORMS ARCHITECTURE • the rpxf query patterns are resolved dynamically • a pattern identifies a value in a data source • a single form may refer to several data sources • when the form is posted to the server the server code automatically creates XML objects from the form data • business logic rules decide which data sources are available and which data sources are updated

  13. RPX FORM DTD • similar to HTML • a form contains pages, which are divided vertically to sections • basic input elements: input field, radio group, drop-down list, etc. • title, paragraph, list, picture, … • XSL style sheet for presenting the form in the browser and for printing

  14. RPX FORM FILTER LANGUAGE • very similar to XSL • RPX Form filter language elements:rpxf:value-of, rpxf:attribute, rpxf:insert, rpxf:repeat • syntax: <rpxf:value-of select=“pattern”> <rpxf:attribute name=“attribute-name”[ select=“pattern”]> <rpxf:insert select=“pattern”> <rpxf:repeat select=“pattern”>

  15. RPX FORMS EXAMPLES • Input fields • <Field label="Company name:" hint="Name of company"> • <rpxf:value-of select="/Customer/CompanyName"/> • </Field> • <DropDown label="Application Type:"> • <rpxf:attribute name="selected” • select="/Installation/ApplicationType2"/> • </rpxf:attribute> • <rpxf:insert select="/Constants/ApplicationType2"/> • </DropDown>

  16. RPX FORMS EXAMPLES • Creating dynamic lists • <List> • <rpxf:repeat select="/Customers/Customer[$$]"> • <ListItem type="read-only"> • <rpxf:value-of select="ContactPerson"/> • <ListItem> • </rpxf:repeat> • </List>

  17. CONCLUSIONS • RPX Forms enables very easy way to develop WWW applications that update XML data • no plug-ins is needed at browser • see Reporting Tool at Remtec’s stand

More Related