Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

DPLS's final report


Published on

  • Be the first to comment

  • Be the first to like this

DPLS's final report

  1. 1. DDI Beta-Test Project at DPLS March 15-July 15, 1999 Cindy Severt and Jinxiao Song Data & Program Library Service University of Wisconsin-Madison
  2. 2. Project Goals <ul><ul><ul><li>Study the complexity and suitability of DDI DTD for DPLS’ WLS metadata. </li></ul></ul></ul><ul><ul><ul><li>Produce XML files of WLS according to DDI DTD. </li></ul></ul></ul><ul><ul><ul><li>Learn how to use XML Pro software. </li></ul></ul></ul><ul><ul><ul><li>Display our XML files on a browser with and without an XSL file. </li></ul></ul></ul><ul><ul><ul><li>Investigate the effectiveness of the software and be aware of other tools (like XML and XSL processors in IE5). </li></ul></ul></ul>
  3. 3. Procedure XML Pro 2.0 Input data from text file XSL file
  4. 4. XML Tree
  5. 5. Validation of XML against DTD <ul><li>XML files validated by XML Pro 2.0 or IE5 XML processor. </li></ul><ul><li>Well-formedness: closed and nested tags. </li></ul><ul><li>Compliant with DTD. </li></ul><ul><li>Namespace. </li></ul><ul><li>XSL file can be validated in IE5. </li></ul>
  6. 6. Composition of XML file <ul><li>Elements </li></ul><ul><li>Attributes </li></ul><ul><li>Comments </li></ul><ul><li>Process Instructions </li></ul><ul><li>Text </li></ul>
  7. 7. Features of our XSL file <ul><li>Provides display templates for the XML file. </li></ul><ul><li>One XSL file can be used for many XML files on IE5. </li></ul><ul><li>Repeated elements can be processed with one XSL instruction. </li></ul><ul><li>Enables internal and external links. </li></ul><ul><li>Uses tables to present metadata very clearly. … continued </li></ul>
  8. 8. <ul><li>XSLT (XSL Transformation) rearranges sections of the original XML tree to create a template used by a browser for display. </li></ul>
  9. 9. XASST.XML, XBEGV.XML <ul><li>wls.xsl </li></ul><ul><li>dataDscr.dtd </li></ul><ul><li>Tables.dtd </li></ul><ul><li>logosmall.jpg and tealbar.jpg </li></ul><ul><li>xasst_native.xml (plain xml file) </li></ul><ul><li>Condition: IE5 and connection with Internet </li></ul>
  10. 10. Questions and Challenges <ul><li>How to deal with two frequencies for one question in the Variable Description. </li></ul><ul><li>Is it reasonable to include table appearance information in the CALS DTD since the principle of XML is to describe content, while XSL, or CSS+DOM determines the appearance of the content on a browser? ... continued </li></ul>
  11. 11. <ul><li>How to handle white spaces in PCDATA? </li></ul><ul><li>When the XML Pro window is full screen, the pop-up menu for elements merges into the bottom of the screen and cannot be moved. This is a software bug. </li></ul><ul><li>How to express pre-conditions in the category level? For example SR036RE ^=1 ... continued </li></ul>
  12. 12. <ul><li>For upgrading XML Pro 2.0, the “XML” in the first line of XML file becomes “xml”. </li></ul><ul><li>XML Pro 2.0 strictly asks for the table DTD file (from CALS DTD). Version 1.2 does not. </li></ul><ul><li>Enumerated attribute problems exist between the two versions of XML Pro software. </li></ul><ul><li>In XML Pro 2.0, elements are constrained to the extent that they cannot be inserted in to an existing tree structure. This problem does not occur in version 1.2. </li></ul><ul><li>...continued </li></ul>
  13. 13. <ul><li>Like other beta-test sites, we find it inconvenient that the var element cannot be a “child”, or subelement of the varGrp element. At present, var is a parallel element with varGrp. </li></ul><ul><li>Most of the work involving the XML file consists of repeating the process of the var element. In XML Pro 1.2 it is necessary to manually insert the var element and all its descendents (including elements and attributes) every time. </li></ul>
  14. 14. Comments <ul><li>In XML Pro 1.2, elements that have both parent and child nodes cannot display attributes in the attribute window. XML Pro 2.0 corrects this problem. </li></ul><ul><li>XML Pro 1.2 can produce XML files. By associating and validating with DTD, the resulting XML files are grammatically correct, and well-formed. However, some operational inconveniences exist (see previous points). </li></ul><ul><li>… continued </li></ul>
  15. 15. <ul><li>Since DDI DTD is so comprehensive, its complexity is apparent. For us, suitability is not a problem, although there were many elements and attributes extranneous to our metadata. </li></ul>
  16. 16. Conclusions <ul><li>Going beyond the scope of our original proposal, we succeeded in displaying XML files on IE5 utilizing XSL files. </li></ul><ul><li>At present, the schemas working draft in W3C (see XML.COM ) poses a great impact on DTD. We believe schemas will greatly improve DTD. </li></ul><ul><li>… continued </li></ul>
  17. 17. <ul><li>XML Pro software is a viable tool, but the process of producing XML files is still time-consuming. This is not unexpected since XML adds so much structured information to data. </li></ul><ul><li>XSL tells the browser how to display XML files. XSL can process repeating elements with only one operation. Since our XML files have so many repeating elements, the XSL file which determines the appearance of our XML file is much more efficient than the corresponding HTML file would be which would have to mark up every single element. </li></ul><ul><li>... continued </li></ul>
  18. 18. <ul><li>One XSL file can display all of our WLS XML files. </li></ul><ul><li>Two category groups with labels within a var element were used to convey frequencies for men and women. </li></ul><ul><li>All category group elements have a “missing” attribute to indicate missing data. </li></ul><ul><li>The attribute UNIT describing the elements “range” and “item”, is INT or REAL. The same holds true for the var element. </li></ul><ul><li>Upgrading XML Pro from version 1.2 to 2.0 improved the interface, but inconveniences still exist. </li></ul>
  19. 19. Appendix:Reference Web Site <ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> Styler /body_ xml _ styler .html </li></ul><ul><li> </li></ul><ul><li> webdav - dasl /1998OctDEC/0011.html </li></ul><ul><li> </li></ul><ul><li> xmlcomp / xmlcomp . htm </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul>
  20. 20. <ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul>