Python Documentation Projects Developers Day 8th International Python Conference 27 January 2000.

Slides:



Advertisements
Similar presentations
Bringing Procedural Knowledge to XLIFF Prof. Dr. Klemens Waldhör TAUS Labs & FOM University of Applied Science FEISGILTT 16 October 2012 Seattle, USA.
Advertisements

1/7 ITApplications XML Module Session 8: Introduction to Programming with XML.
Cascading Style Sheets (CSS). Cascading Style Sheets With the explosive growth of the World Wide Web, designers and programmers quickly explored and reached.
 Fundamentals of Web Design.  Describe the history and theory of XHTML  Understand the rules for creating valid XHTML documents  Apply a DTD to an.
History Leading to XHTML
Basics of HTML What is HTML?  HTML or Hyper Text Markup Language is the standard markup language used to create Web pages.  HTML is.
XML Parsing Using Java APIs AIP Independence project Fall 2010.
XHTML 16-Apr-17.
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
Creating a Well-Formed Valid Document. 2 Objectives Introducing XHTML Creating a Well-Formed Document Creating a Valid Document Creating an XHTML Document.
Russell Taylor Lecturer in Computing & Business Studies.
Tutorial 11 Creating XML Document
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
Developing a Basic Web Page Posting Files on UMBC
Mathematical Content Conversions David McKain 9 th September 2009.
CNIT 133 Interactive Web Pags – JavaScript and AJAX Review HTML5.
1 Spidering the Web in Python CSC 161: The Art of Programming Prof. Henry Kautz 11/23/2009.
JSP Standard Tag Library
XP Tutorial 9New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
XP The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 140 Internet Tools Instructor: Enoch E. Damson.
What is XML? XML stands for EXtensible Markup Language
XP 1 HTML: The Language of the Web A Web page is a text file written in a language called Hypertext Markup Language. A markup language is a language that.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
Introduction to XML. XML - Connectivity is Key Need for customized page layout – e.g. filter to display only recent data Downloadable product comparisons.
Sheet 1XML Technology in E-Commerce 2001Lecture 7 XML Technology in E-Commerce Lecture 7 XSL Formatting Objects, Java Data Binding.
XML Extensible Markup Language. What is XML? An infrastructure for describing text and data Developed by W3C(the World Wide Web Consortium)
Washington Area SGML/XML Users Group – 21 June 2000 BeOpen.com 1 Python, XML, and PythonLabs Fred L. Drake, Jr.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
CSCI 1101 Intro to Computers 7.1 Learning HTML. 2 Introduction Web pages are written using HTML Two key concepts of HTML are:  Hypertext (links Web pages.
1 XML - Extensible Markup Language. 2 HTML - Hypertext Markup Language n HTML has a fixed tag set. n Use these tags to describe how information is to.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
XML and Digital Libraries M. Zubair Department of Computer Science Old Dominion University.
XP Tutorial 9 1 Working with XHTML. XP SGML 2 Standard Generalized Markup Language (SGML) A standard for specifying markup languages. Large, complex standard.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
Tcl'2003 DocTools 10 th Annual Tcl/Tk Conference Andreas Kupries ActiveState Corporation.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
XP 1 Creating an XML Document Developing an XML Document for the Jazz Warehouse XML Tutorial.
The eXtensible Markup Language (XML). Presentation Outline Part 1: The basics of creating an XML document Part 2: Developing constraints for a well formed.
XML Design Goals 1.XML must be easily usable over the Internet 2.XML must support a wide variety of applications 3.XML must be compatible with SGML 4.It.
1 Tutorial 11 Creating an XML Document Developing a Document for a Cooking Web Site.
XML Steve Fisher/RAL. 20 October 2000XML - Steve Fisher/RAL2 Warning Information may not be all completely up to date.
Introducing Python CS 4320, SPRING Lexical Structure Two aspects of Python syntax may be challenging to Java programmers Indenting ◦Indenting is.
XML Study-Session: Part III
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
SCHOOL OF LIBRARY, ARCHIVE AND INFORMATION STUDIES Andy Dawson LIS1510 Library and Archives Automation Issues XML and extensible systems Andy Dawson School.
1 Introduction JAXP. Objectives  XML Parser  Parsing and Parsers  JAXP interfaces  Workshops 2.
XML The Extensible Markup Language (XML ), which is comparable to SGML and modeled on it, describes how to describe a collection of data. A standard way.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Martin Kruliš by Martin Kruliš (v1.1)1.
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
XML Extensible Markup Language
XML & JSON. Background XML and JSON are to standard, textual data formats for representing arbitrary data – XML stands for “eXtensible Markup Language”
1 Introduction to XML Babak Esfandiari. 2 What is XML? introduced by W3C in 98 Stands for eXtensible Markup Language it is more general than HTML, but.
Slice & dice the Web with XmlPL, The XML Processing Language A presentation for Boise Code Camp 2007 Joseph Coffland Cauldron Development LLC.
Unit 4 Representing Web Data: XML
XML in Web Technologies
Session I - Introduction
Session I - Introduction
Database Processing with XML
Chapter 7 Representing Web Data: XML
The Automation of the U.S. Budget Appendix Volume
CS 240 – Advanced Programming Concepts
CSE591: Data Mining by H. Liu
1.3.7 High- and low-level languages and their translators
Extensible Markup Language (XML)
Presentation transcript:

Python Documentation Projects Developers Day 8th International Python Conference 27 January 2000

27 Jan 2000IPC8 Developers Day, Documentation-SIG 2 Open Projects Out-of-line documentation:  XML conversion of the standard documentation Embedded documentation:  David Ascher's docstring proposal  Fred's docstring + parse tree analysis tool

27 Jan 2000IPC8 Developers Day, Documentation-SIG 3 XML Conversion Project LaTeX files are loaded into DOM fragments  Markup interpretation is driven from a conversion specification written in XML DOM trees are modified from Python:  Augment existing markup  Performed in many simple passes  Paragraph identification at this stage ESIS can be converted to XML or SGML

27 Jan 2000IPC8 Developers Day, Documentation-SIG 4 XML Conversion Project Output is struturally similar to current markup  Some names change  Some data moves to attributes DTD has not been written:  Try DocBook (extended) or write our own?  If DocBook, conversion needs more work Not everything is perfect:  ~95% is handled automatically

27 Jan 2000IPC8 Developers Day, Documentation-SIG 5 What's Needed  Decision on DTD  Decision to use XML or SGML  *ML-savvy proofreaders to check conversion result

27 Jan 2000IPC8 Developers Day, Documentation-SIG 6 Selection of a DTD DocBook advantages:  Widely used, experienced designers  Existing stylesheets for print & Web DocBook disadvantages:  Verbose markup is hard to enter manually

27 Jan 2000IPC8 Developers Day, Documentation-SIG 7 Selection of a DTD Custom DTD advantages:  Can match the desired semantics precisely  Can use concepts and names familiar to Python programmers Custom DTD disadvantages:  We have to develop our own DTD when others have already made good ones  We're on our own for stylesheets

27 Jan 2000IPC8 Developers Day, Documentation-SIG 8 XML or SGML? XML advantages:  Easy to parse with Python  Good availability of tools XML disadvantages:  Markup is very verbose SGML advantages:  Markup can be somewhat more minimal, easier for authoring

27 Jan 2000IPC8 Developers Day, Documentation-SIG 9 Embedded Documentation Guido’s indicated an interest in “blessing” a format:  Extraction tools in standard library  Usable to derive sections of the Library Reference  Also useful for IDEs

27 Jan 2000IPC8 Developers Day, Documentation-SIG 10 Embedded Documentation  Markup/syntax proposal by David Ascher with contributions from SIG participants  We can get a lot of information directly from the source code  Tools based on Daniel Larsson's pythondoc, additional code by David Ascher and Fred Drake in progress (separately)

27 Jan 2000IPC8 Developers Day, Documentation-SIG 11 David’s Proposal Status  Syntax is “natural and Pythonic”  High-level structure is hashed out  Reference searching and recognition not quite done  Set of tags not yet solidified  Type syntax off-table to allow the Types- SIG time to work on it

27 Jan 2000IPC8 Developers Day, Documentation-SIG 12 David’s Implementation Prototype parser supports:  Indentation structure & tree building  Bold, italic, Python code, doctest tagging  List identification & tagging  Reference identification & tagging

27 Jan 2000IPC8 Developers Day, Documentation-SIG 13 David’s Implementation Missing features:  Signature parsing  Namespace lookup for references  doctest integration  Good error message with exact line numbers  Output formatting (will do HTML first)

27 Jan 2000IPC8 Developers Day, Documentation-SIG 14 Fred’s Implementation  No time to work on it  The code is a mess  Will be scrapped if we like David’s

27 Jan 2000IPC8 Developers Day, Documentation-SIG 15 Other Needs  Authors  Proofreaders  ???