Appendix B Recipe Book in XML

lt xml version l.0 gt lt ELEMENT cookbook category gt lt ELEMENT category title , recipe gt lt ELEMENT recipe name, ingredient , cooking , serves , method gt lt ELEMENT ingredient quantity , name gt amount CDATA REQUIRED unit CDATA g gt lt ELEMENT unit PCDATA gt lt ELEMENT amount PCDATA gt lt ELEMENT name PCDATA gt lt ELEMENT cooking note gt lt ELEMENT method instruction gt lt ELEMENT instruction PCDATA gt lt title gt bread lt title gt lt recipe gt lt name gt The Basic Loaf lt name gt lt...

S Lyx

Attributes class, 292 Attributes getlndex, 292 getLength, 292 getLocalName, 292 getQName, 292 getType, 292 getValue, 292 Attributeslmpl, 297 addAttribute, 297 clear, 297 getlndex, 297 getLength, 297 getLocalName, 297 getQName, 297 getType, 297 getURI, 297 getValue, 298 removeAttribute, 298 setAttribute, 298 setLocalName, 298 setValue, 298 ContentHandler class, 293 ContentHandler characters, 293 endDocument, 293 endElement, 293 ignorableWhitespace, 293 processinglnstruction, 293 startDocument,...

Info Jph

Figure 18.1 Skinned Mozilla Browsers Figure 18.1 Skinned Mozilla Browsers XUL is a GUI toolkit. Using it, applications can be easily developed in a simple text editor. The main limitation of XUL is that those applications must run inside Mozilla. This means that the language occupies the same sort of user-space as Java applets and HTML forms. Indeed, one thing to note about XUL is that many of its widgets,2 are the same as those provided in HTML for forms development. The significant difference...

Introducing Docbook

The DocBook DTD defines a structure and element set for the creation of technical documentation, in particular documentation in the field of computing. It has evolved over a number of years to the point where the latest version, V4.1.2, has well over 300 separate elements which can be used to describe just about anything that might need to be included in computer documentation. DocBook can be, and indeed is, used to mark up source code for Unix man pages, Windows Help files, user manuals,...

The Xul Widgets

If you've ever used a GUI widget set, XUL will feel pretty familiar quite quickly. The contents of graphical toolkits are structured hierarchically and XUL is no exception. The root of the structure is a window which contains a set of boxes. Each box contains the actual widgets which get drawn on the screen. I'm going to describe a few of the XUL widgets, how they are used and what attributes they take. The chapter finishes with a small example of how XUL can be used to build a simple...