Embedded XML Documentation for Fortran 90 and C/C++ Brett N. DiFrischia RS Information Systems NOAA | GFDL.

Slides:



Advertisements
Similar presentations
Web forms and CGI scripts Dr. Andrew C.R. Martin
Advertisements

Advanced XSLT. Branching in XSLT XSLT is functional programming –The program evaluates a function –The function transforms one structure into another.
Advanced XSLT II. Iteration in XSLT we sometimes wish to apply the same transform to a set of nodes we iterate through a node set the node set is defined.
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
What is XML? a meta language that allows you to create and format your own document markups a method for putting structured data into a text file; these.
XSL XSLT and XPath 11-Apr-17.
1 XML Data Management Course Outline and Organisation Werner Nutt.
Introduction to XML John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
XML is a set of rules for building markup languages. It is not just glorified HTML or only for the internet. XML is a family of technologies that can do.
Introduction to XML Extensible Markup Language
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Fundamentals of Web DevelopmentRandy Connolly and Ricardo HoarFundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Fundamentals of Web DevelopmentRandy.
UML class diagrams and XML schemas Karl Lieberherr UBS AG Northeastern University.
DEiXTo.
Technical Track Session XML Techie Tools Tim Bornholt.
Topics The "bigger picture" –The "XML sales pitch" –XML/XHTML vs. SGML/HTML –XML in electronic publishing –XML and the future, web 2.0 XML basics: –Building.
Using XML as the Foundation for a Network Resource Description Language Peter A. Dinda.
Concordia University Department of Computer Science and Software Engineering Click to edit Master title style ADVANCED PROGRAMING PRACTICES API documentation.
XML Validation I DTDs Robin Burke ECT 360 Winter 2004.
JSP Standard Tag Library
4.1 JavaScript Introduction
Web Applications Harry R. Erwin, PhD University of Sunderland CIT304/CSE301.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
Overcoming the limitation of XML Documentation Type Definition XML schema generator CS689 Hae-Soon Kwon 11/16/2000.
1 XML at a neighborhood university near you Innovation 2005 September 16, 2005 Kwok-Bun Yue University of Houston-Clear Lake.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
Another PillowTalk Presentation  2004 Dynamic Systems, Inc. Introduction to XML for SOA Lee H. Burstein,
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
1/14 ITApplications XML Module Session 2: Using and Creating XML Documents.
Demystifying the eXtensible Markup Language Nick Roberts & Jim Few
XML BIS4430 – unit 10. XML Origins Extensible Markup Language (XML) 1998 Inspired by Standard Generalized Markup Language (SGML) and HTML. SGML defines.
1 XML Data Management Course Outline and Organisation Werner Nutt.
Introduction to XML Extensible Markup Language. What is XML XML stands for eXtensible Markup Language. A markup language is used to provide information.
FIGIS’ML Hands-on training - © FAO/FIGIS An introduction to XML Objectives : –what is XML? –XML and HTML –XML documents structure well-formedness.
JavaDoc1 JavaDoc DEPARTMENT OF COMPUTER SCIENCE AND SOFTWARE ENGINEERING CONCORDIA UNIVERSITY July 24, 2006 by Emil Vassev & Joey Paquet revision 1.2 –
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
CIS 451: XML DTDs Dr. Ralph D. Westfall February, 2009.
XML Validation I DTDs Robin Burke ECT 360 Winter 2004.
An OO schema language for XML SOX W3C Note 30 July 1999.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
XML Instructor: Charles Moen CSCI/CINF XML  Extensible Markup Language  A set of rules that allow you to create your own markup language  Designed.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
XML eXtensible Markup Language. XML A method of defining a format for exchanging documents and data. –Allows one to define a dialect of XML –A library.
1 herbert van de sompel CS 502 Computing Methods for Digital Libraries Cornell University – Computer Science Herbert Van de Sompel
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Information Retrieval and Web Search Crawling in practice Instructor: Rada Mihalcea.
Web Technologies for Bioinformatics Ken Baclawski.
When we create.rtf document apart from saving the actual info the tool saves additional info like start of a paragraph, bold, size of the font.. Etc. This.
What is XML? eXtensible Markup Language eXtensible Markup Language A subset of SGML (Standard Generalized Markup Language) A subset of SGML (Standard Generalized.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
XML Technology. Emerging Importance of XML –HTML-tagging is display oriented. –XML-based content tagging has important uses: data mining role-oriented.
Martin Kruliš by Martin Kruliš (v1.1)1.
Rendering Syndicated Library Content in an Institutional Portal: Integrating MyLibrary into uPortal John Fereira: Cornell University Eric Lease Morgan:
XML for Scientific Applications Marlon Pierce ERDC Tutorial August
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
XML 1.Introduction to XML 2.Document Type Definition (DTD) 3.XML Parser 4.Example: CGI Gateway to XML Middleware.
1 XML and XML in DLESE Katy Ginger November 2003.
Extensible Markup Language (XML) Pat Morin COMP 2405.
7th Annual Hong Kong Innovative Users Group Meeting
Unit 4 Representing Web Data: XML
Advanced Programing practices
Introduction to Advance Web Technologies
CSE591: Data Mining by H. Liu
Presentation transcript:

Embedded XML Documentation for Fortran 90 and C/C++ Brett N. DiFrischia RS Information Systems NOAA | GFDL

Documentation Foundation of successful software projects Eases development and implementation An absolute necessity for large applications and libraries Often the least maintained portion of any software development effort

Example

Embedded Documentation Benefits Comments next to definition One file to maintain Drawbacks Not easy to navigate Documentation may not be near source counterpart Documentation may not be there at all

HTML Documentation Benefits More navigation options Easier to read Can be more organized Drawbacks More files to maintain May need to know HTML to do so Difficult to follow a standard interface Change in format requires change in all HTML files

How Can XML Help? Structured data User defined elements Optional validation Many parsers available Standards for transformation –XSLT –XSL:FO

Example

Embedding XML in Source Identify information to be included Must be in comments Easy to extract –Assuming there is a way to separate source from comments Perform minimal automated enhancements –Identify external dependencies

Example

Example (cont.)

Extracting XML Must be able to separate comments Replace <‘s and &’s with < and &, respectively –Regular expressions can handle this Parse XML –Typically requires native library Remove private text

Transform Web pages –Directly translate, via parser –Translate using XSLT Transform to different format (XML, HTML, etc.) Printed page –XSL-FO Transform to printable format (typically PDF) Interactive –E.g.. AxKit

Software Primarily Perl programs –Modules are either included with the package or downloadable from CPAN External C libraries –Expat –LibXML2 (in the near future) Java program –Xalan

Future Versions More flexible handling of DTDs –Determine element lists using DTDs (internal) W3C XML Schema dependencies –Specific type enforcement Optional validation of XML –Simple enforcement of documentation standard

Highlights Single file to maintain Tags are easy to remember Standardizes appearance Eases transition between document formats Supports adherence to documentation standards Simplifies documentation creation

For More Information Web pages – – Books –Inside XML Steven Holzner, New Riders Pub., 2000 –Inside XSLT Steven Holzner, New Riders Pub., 2002 –XML in a Nutshell, 2 nd Edition Elliotte Rusty Harold, W. Scott Means, O’Reilly & Associates, 2002