XML Publication : Web document publication through XML
by J.M. Vanel , Copyright ©
J.M. Vanel - 2001
Last update:
Back to main page
Samples
Source a table
source document : XHTML
document; only table(s) are used, the rest is ignored; note this is our "XSLT
transforms library" page
XML master : note how
column headers have become XML tags
user keywords
& stopwords
site
specific XHTML wrapper
user
document header
resulting XHTML
pages
Source a paragraph structured text
source document : Word-style
HTML transformed in XHTML document; standard <h1> and
<h2> tags (with or without XHTML namespace) are taken in
account to delimit items and rubrics
build.xml file for ant build tool.
XML master : <p
class='h1'> and <p class='h2'> wrappers are added to
the original document
user keywords &
stopwords
resulting XHTML pages
Source a poorly structured word processor file
Seed to Seed (www.seed2seed.net)
(login seed2seed, password open) is a site 100% build with XML Publication.
See "Seed Savers" for an example of a poorly structured word processor file
treated by XML Publication.
See part of source document
: note that an item has the following structure :
- a bold paragraph: the english name of the plant: the item name
- an ordinary paragraph: the plant family
- a paragraph beginning with an italic part: the scientific (latin) name
of the plant
- a series of paragraphs beginning with a bold title: the rubrics
The semanticMarkup.xslt
XSLT transform is used to convert this structure to an XML structure
conforming to XML Publication's "Information object model" and "XML
basic structure" . A simple XSLT transform, group-by-species.xslt
is then used to group newly created rubrics into items. The
partial master.xml
resulting file is here.
The end of the treatment is similar to preceding case "Source a table".
Source a relational database
coming soon
Source e-commerce catalog
coming soon
Back to main page