Introduction to XML

  
  
  
  
Layout:

Get the Flash Player to see this player.

Mark Video Segment:
begin
end
play
[Hide] Copy and paste this link to an email or instant message:
[Hide] Right click this link and add to bookmarks:
Dock windowSearch
Terms:
 
Loading ...

This video will walk you through an XML exercise in <oxygen/> XML Editor.

In order to follow along, you will need to create two documents with the directions and text below.

1. On your desktop, make a folder called "XMLfiles" (with no spaces)
2. In Oxygen, go to File, and select New, and then select Text.
3. Copy and paste the text from Our Content in the Oxygen document and save it in the desktop folder as "content." It will become content.txt.
4. In Oxygen, open another new document, but this time select Document Type Definition.
5. Copy and paste the text from Rules in the new document and save it in the desktop folder as "rules." It will become rules.dtd.


Our Content

"3D Printing Spurs a Manufacturing Revolution"
The New York Times
Published September 13, 2010
BYLINE: By ASHLEE VANCE
SECTION: Business Day, Technology
LENGTH: 1246 words

SAN FRANCISCO -- Businesses in the South Park district of San Francisco generally sell either Web technology or sandwiches and burritos. Bespoke Innovations plans to sell designer body parts.

The company is using advances in a technology known as 3-D printing to create prosthetic limb casings wrapped in embroidered leather, shimmering metal or whatever else someone might want.

Scott Summit, a co-founder of Bespoke, and his partner, an orthopedic surgeon, are set to open a studio this fall where they will sell the limb coverings and experiment with printing entire customized limbs that could cost a tenth of comparable artificial limbs made using traditional methods. And they will be dishwasher-safe, too.

"I wanted to create a leg that had a level of humanity," Mr. Summit said. "It's unfortunate that people have had a product that's such a major part of their lives that was so underdesigned."

A 3-D printer, which has nothing to do with paper printers, creates an object by stacking one layer of material -- typically plastic or metal -- on top of another, much the same way a pastry chef makes baklava with sheets of phyllo dough.

The technology has been radically transformed from its origins as a tool used by manufacturers and designers to build prototypes. These days it is giving rise to a string of never-before-possible businesses that are selling iPhone cases, lamps, doorknobs, jewelry, handbags, perfume bottles, clothing and architectural models. And while some wonder how successfully the technology will make the transition from manufacturing applications to producing consumer goods, its use is exploding.

A California start-up is even working on building houses. Its printer, which would fit on a tractor-trailer, would use patterns delivered by computer, squirt out layers of special concrete and build entire walls that could be connected to form the basis of a house. It is manufacturing with a mouse click instead of hammers, nails and, well, workers. Advocates of the technology say that by doing away with manual labor, 3-D printing could revamp the economics of manufacturing and revive American industry as creativity and ingenuity replace labor costs as the main concern around a variety of goods.

If you want to read the rest of the article, you can go to: <http://www.nytimes.com/2010/09/14/technology/14print.html>

Rules

<!ELEMENT article (storyInfo,authorInfo,body)>
<!ELEMENT storyInfo (title, newsorg,length?, section)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT newsorg (#PCDATA)>
<!ELEMENT length (#PCDATA)>
<!ELEMENT section (#PCDATA)>
<!ELEMENT authorInfo (byLine?,author+)>
<!ELEMENT author (person)>
<!ELEMENT person (firstName,middleName?,lastName)>
<!ELEMENT firstName (#PCDATA)>
<!ELEMENT middleName (#PCDATA)>
<!ELEMENT lastName (#PCDATA)>
<!ELEMENT byLine (#PCDATA)>
<!ELEMENT body (pgraph)*>
<!ELEMENT pgraph (#PCDATA)>

Dock window
Dock windowTable of contents