Introduction to xml2rfc 27 July 2008 Dublin, Ireland.

Slides:



Advertisements
Similar presentations
Use Watch folders to automatically add PDFs to Mendeley Desktop.
Advertisements

Web Development & Design Foundations with XHTML
Hypertext markup language.  Client asks for an html file  Server returns the html file  Client parses and displays it  This display is what most people.
Chapter 2 HTML Basics Key Concepts
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Table of Contents Part B Managing Documents & References File organizer Citing references Creating bibliographies/Using MS Word Plugin Sharing documents.
31 Signs That Technology Has Taken Over Your Life: #6. When you go into a computer store, you eavesdrop on a salesperson talking with customers -- and.
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 Extensible Markup Language. Today: Imagine Cup –Wednesday, February 2nd from 6-8 pm in Lally Hall, Room 104, we will have a representative on campus.
Reference Manager Making your life easier! Updated September 2007.
Introduction to XML This material is based heavily on the tutorial by the same name at
Software Documentation Written By: Ian Sommerville Presentation By: Stephen Lopez-Couto.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
OASIS document rules Nigel Shaw Eurostep Limited.
Use Watch folders to automatically add PDFs to Mendeley Desktop. When you place a document in a watched folder, it will be automatically added to Mendeley.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
Pemrograman Berbasis WEB XML part 2 -Aurelio Rahmadian- Sumber: w3cschools.com.
Headings, Paragraphs, Formatting, Links, Head, CSS, Images
Week 1.  Phillip Chee   Ext.1214 
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
1 HTML intro The development of HTMLThe development of HTML The transition from HTML to XHTMLThe transition from HTML to XHTML XHTML syntax, tags, and.
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
1.  Describe the anatomy of a web page  Format the body of a web page with block-level elements including headings, paragraphs, lists, and blockquotes.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
FIGIS’ML Hands-on training - © FAO/FIGIS An introduction to XML Objectives : –what is XML? –XML and HTML –XML documents structure well-formedness.
Session IV Chapter 9 – XML Schemas
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
1 Tutorial 13 Validating Documents with DTDs Working with Document Type Definitions.
Setting Up an on-line Store Tutorial Using SmartStore.biz This Tutorial assumes you have downloaded the software from This Tutorial.
1 Chapter 10: XML What is XML What is XML Basic Components of XML Basic Components of XML XPath XPath XQuery XQuery.
CIS 451: XML DTDs Dr. Ralph D. Westfall February, 2009.
1 Chinese Information Processing : Using Computers to Teach and Learn Chinese Week 6 and 7: Creating and maintaining web pages - html and ftp.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation An Introduction to XML.
XML Documents Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University Elements Attributes Comments PI Document.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
IBM Software Group ® Context-Sensitive Help with the DITA Open Toolkit Jeff Antley IBM October 4, 2007.
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 Introduction to XML XML stands for Extensible Markup Language. Because it is extensible, XML has been used to create a wide variety of different markup.
XML Introduction. What is XML? XML stands for eXtensible Markup Language XML stands for eXtensible Markup Language XML is a markup language much like.
XML Basics A brief introduction to XML in general 1XML Basics.
Content and Systems Week 3. Today’s goals Obtaining, describing, indexing content –XML –Metadata Preparing for the installation of Dspace –Computers available.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Advanced Technical Writing 2006 Session #4. Today in Class… ► Meet with your editorial team, refine/post deliverables ► Send URL for deliverables to Bill.
Tutorial 3 Adding and Formatting Text with CSS Styles.
HTML Introduction. Lecture 7 What we will cover…  Understanding the first html code…  Tags o two-sided tags o one-sided tags  Block level elements.
Well Formed XML The basics. A Simple XML Document Smith Alice.
Introduction to DTD A Document Type Definition (DTD) defines the legal building blocks of an XML document. It defines the document structure with a list.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
XML CORE CSC1310 Fall XML DOCUMENT XML document XML document is a convenient way for parsers to archive data. In other words, it is a way to describe.
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
INT222 – Internet Fundamentals
Web Design – Week 2 Introduction to website basics Website basics: How the Web Works Client / server architecture Packet switching URL components.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
Advanced Technical Writing 2006 Session #3. Today in Class… ► Show-n-tell your CSS Objects from exercise 1 ► Meet with your editorial team, refine/post.
XML Introduction to XML Extensible Markup Language.
Chapter 4 and 5. Objectives Introduce markup: elements and attributes How browsers interpret HTML documents Basic structure of HTML document What do style.
Mendeley Desktop and Web versions complement/perform separate tasks Desktop is where you organize your library, add desktop files and folders, add EndNote,
How to get started with RefWorks
Unit 4 Representing Web Data: XML
How to get started with RefWorks
Software Documentation
EndNote Your Bibliographic Management Tool Webex version
HTML Intro.
Introducing HTML & XHTML:
INT’L FORMATTING WORKSHOP
Mendeley Part B Table of Contents
Lesson 2: HTML5 Coding.
Presentation transcript:

Introduction to xml2rfc 27 July 2008 Dublin, Ireland

Intro to xml2rfc2 This tutorial Overview of xml2rfc Creating an Internet-Draft –Using Lists –Using References Demos Questions

Intro to xml2rfc3 What is xml2rfc? A tool that: Converts an XML source file into a text, HTML, nroff, unpaginated text, or expanded XML file. Creates a document in the format of an Internet-Draft (or RFC). Is available from as a web-based service or for download.

Intro to xml2rfc4 Why use xml2rfc? This tool: creates an Internet-Draft in the proper format inserts boilerplate text formats reference entries outputs HTML that is handy for posting You will have a source file that: can be used to exchange comments with coauthors can be used for metadata extraction the RFC Editor can edit

Intro to xml2rfc5 Initial Setup: Choices Use the tool on the web or install it locally. Use the citation libraries online or maintain a local copy. Edit in your favorite editor or use an XML editor such as XMLmind. With XMLmind, use Bill’s add-on that provides a WYSIKN (What You See Is Kinda Neat) interface

Intro to xml2rfc6 Quick-Start Guide Use the tool online. Use the citation libraries online. Use your favorite text editor and edit raw XML. Start with a template.

Intro to xml2rfc7 Templates Available here: Recommend starting with: –For a generic draft: draft-davies-template-bare.xml –For a draft containing a MIB: mib-doc-template-xml.txt

Intro to xml2rfc8 XML Basics Elements are nested Matching start and end tags (or simply an empty tag, e.g., ) Attributes have quoted values Case-sensitive Use < for < and & for & See “XML basics” for more details

Intro to xml2rfc9 Creating an Internet-Draft Make an author element for yourself tags around paragraphs around figures Enter references as Use citation libraries for references

Intro to xml2rfc10 Author Info Template for author info block:

Intro to xml2rfc11 Using Lists Use the style attribute of the list element: style="empty": simply indents list items. (default) style="numbers": 1., 2., 3. style="letters": a., b., c. style="symbols": bulleted with o, o, o nested lists are bulleted with *, then + style="hanging": for text idented under a term (using hangText attribute of tag) style="format %d": for customized lists

Intro to xml2rfc12 Customized Lists (1) (2) is (3) (a) (b) is (c) REQ1: REQ2: is REQ3:

Intro to xml2rfc13 Using CDATA A CDATA block is left alone by xml2rfc. It does not try to parse XML inside of a CDATA block. (For example, if a figure contains "<", you don't have to use <) So it is especially good for when there are XML examples in the document. <![CDATA[ Here is a figure that mentions XML elements such as. ]]>

Intro to xml2rfc14 Inserting References 3 ways to use the citation libraries (details to follow) 1.The Short Way Use a PI in the references section: 2.The Long Way Define an ENTITY at the top and use &rfc2119; in the references section. 3.The Really Long Way Include the complete reference element. ALL yield the same text output: ➔ [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

Intro to xml2rfc15 (1) The Short Way Use a PI in the references section. ➔ [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March ➔ [I-D.ietf-sip-gruu] Rosenberg, J., "Obtaining and Using Globally Routable User Agent (UA) URIs (GRUU) in the Session Initiation Protocol (SIP)", draft-ietf-sip-gruu-15 (work in progress), October ➔ [IEEE H.2003] "Information technology - Telecommunications and information exchange between systems - Local and metropolitan area networks - Specific requirements - Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) specifications - Amendment 5: Spectrum and Transmit Power Management Extensions in the 5 GHz band in Europe", IEEE Standard h, Oct 2003,.

Intro to xml2rfc16 (2) The Long Way Define an ENTITY inside the DOCTYPE reference at the top. <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [ <!ENTITY sip-gruu SYSTEM “ reference.I-D.ietf-sip-gruu.xml”> ]> Then in the references section: &rfc2119; &sip-gruu; &80211H;

Intro to xml2rfc17 (3) The Really Long Way Include the complete reference element. Key words for use in RFCs to Indicate Requirement Levels Harvard University [snip] General keyword [snip]

Intro to xml2rfc18 Citing References All are cited textually in the same way: using xref elements with the target set to the anchor of the reference element, e.g., ➔ [RFC2119] ➔ [I-D.ietf-sip-gruu] ➔ [IEEE H.2003]

Intro to xml2rfc19 A Reference from Scratch Note: It’s preferable that you use the citation libraries esp. for RFCs and Internet-Drafts.

Intro to xml2rfc20 Reference Tags How to get numbered refs instead of symbolic (e.g., [1] instead of [RFC2119]): Use the PI (Note: “yes” is the default for xml2rfc v1.33) How to get names instead of RFC numbers (e.g, [IKEv2] instead of [RFC4306]): Insert the complete reference element and change the anchor attribute. Also, update any corresponding xref targets.

Intro to xml2rfc21 Dos and Don’ts Do use xref for references. Do use xref for section cross-references. Do use list elements for lists. Don’t hard-code your references. Don’t hard-code a section number (to refer within a document). Don’t inserts a list as a figure.

Intro to xml2rfc22 Put your XML file to work Share comments/edits with your coauthors. Upload it to the I-D Submission Tool when you post your draft Send it to the RFC Editor if your draft is approved for publication as an RFC. (They will already have it if you uploaded it.) Create and post HTML version. Check out Julian Reschke’s XSLT for an alternative to xml2rfc’s HTML output.

Intro to xml2rfc23 There’s lots more functionality. For more information: HOW TO (a.k.a. unofficial successor to RFC 2629): contains descriptions of elements & attributes, and the DTD README: contains instructions for installing xml2rfc locally contains full list of processing instructions (PIs) & their descriptions xml2rfc FAQ: xml2rfc mailing list:

Intro to xml2rfc24 Demos 1.Classic: editing in your favorite editor and formatting via the web page or locally 2.rfc2629.xslt and Firefox (HTML output only) 3.Editing with XMLmind and xml2rfc-xxe add-on

Intro to xml2rfc25 Questions? Join the xml2rfc mailing list: Bill Fenner, Alice Hagens,