Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers

ArticlesCreating XML Objects


March 1998 / Cover Story / Weaving a Better Web / Creating XML Objects

The following three screenshots show an XML document being imported into an XML-enabled HTML editor (Grif's Symposia Pro). During import, the tool verifies that the document is "well-formed." If it encounters tags that are not recognized (i.e, they do not belong to the HTML 3.2 Document Type Definition, or DTD), it automatically bu ilds new tag definitions. The document is displayed using HTML 3.2 tag formatting rules, with default rules for new tags. The user can then interactively add cascading style sheets (CSS) style rules to improve the display of these new document elements.


Add New Tag

screen_link (26 Kbytes)

The user can define and insert new tag definitions at any time, using the Add New Tag command. SGML editors , as well as other document authoring tools, are also adding the capability to create XML tags like these.


New Tag Insertion

screen_link (49 Kbytes)

New tags are inserted in the structure. The user can interactively specify the way they should be formatted by associating a set of CSS style rules. Content of new tags can then be entered interactively in WYSIWYG mode.


Save Those Tags

screen_link (52 Kbytes)

User-defined tags are saved in the XML structure, and the CSS style sheet definition remains as sociated with them. The document can be read by any other tool that supports XML and CSS specifications.


Up to the Cover Story section contentsGo to previous article: Creating XML Objects
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network