Sie sind auf Seite 1von 34
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall
Mark Pascall
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect

XML for Dummies

XML for Dummies

(and(and managers)managers)

Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect
Mark Pascall XML for Dummies XML for Dummies (and(and managers)managers) Technical Architect

Technical Architect

Xlink XPointer HTM L XSLT XML XML Schem a XQuery SOA Name OverviewOverview WhatWhat isis
Xlink XPointer HTM L XSLT XML XML Schem a XQuery SOA Name
Xlink
XPointer
HTM
L
XSLT
XML
XML
Schem
a
XQuery
SOA Name

OverviewOverview

WhatWhat isis XML?XML?XSLT XML XML Schem a XQuery SOA Name OverviewOverview ExtensibleExtensible MarkupMarkup LanguageLanguage ManyMany

ExtensibleExtensible MarkupMarkup LanguageLanguagea XQuery SOA Name OverviewOverview WhatWhat isis XML?XML? ManyMany piecespieces inin thethe XMLXML puzzlepuzzle

ManyMany piecespieces inin thethe XMLXML puzzlepuzzleXML?XML? ExtensibleExtensible MarkupMarkup LanguageLanguage VeryVery fastfast movingmoving FirstFirst –– backback

VeryVery fastfast movingmovingManyMany piecespieces inin thethe XMLXML puzzlepuzzle FirstFirst –– backback toto basics….basics…. P space

FirstFirst –– backback toto basics….basics….MarkupMarkup LanguageLanguage ManyMany piecespieces inin thethe XMLXML puzzlepuzzle VeryVery fastfast movingmoving P space

P space
P space
works…. works…. Web Server How How the the Internet Internet Get me that text file
works…. works….
works….
works….

Web Server

How How the the Internet Internet

Get me that text file

OK here it is

Web Clients (Browser)

works…. works…. Web Server How How the the Internet Internet Get me that text file OK
Language Hypertext Mark-up Hypertext Mark-up Language <h1>Here<h1>Here isis thethe
Language
Language

Hypertext Mark-up

Hypertext Mark-up Language

<h1>Here<h1>Here isis thethe title</h1>title</h1>

<p>This is a piece of <b>Text</b> </p>

<p>This is a piece of <b>Text</b> </p>

AA formattingformatting languagelanguageis a piece of <b>Text</b> </p> Browser Browser knows knows how how to to interpret

Browser Browser knows knows how how to to interpret interpret the the tags. tags.<p>This is a piece of <b>Text</b> </p> AA formattingformatting languagelanguage

AA formattingformatting languagelanguage Browser Browser knows knows how how to to interpret interpret the the tags.
structured structured data data What is Extensible Markup What is Extensible Markup Language?Language? NOTNOT aa
structured structured data data
structured structured data data

What is Extensible Markup

What is Extensible Markup

Language?Language?

NOTNOT aa markupmarkup languagelanguageMarkup What is Extensible Markup Language?Language? Meta-markupMeta-markup LanguageLanguage SetSet ofof veryvery

Meta-markupMeta-markup LanguageLanguageLanguage?Language? NOTNOT aa markupmarkup languagelanguage SetSet ofof veryvery simplesimple rulesrules XML provides a

SetSet ofof veryvery simplesimple rulesruleslanguagelanguage Meta-markupMeta-markup LanguageLanguage XML provides a uniform method for XML provides a uniform

XML provides a uniform method forSetSet ofof veryvery simplesimple rulesrules XML provides a uniform method for describing describing and

XML provides a uniform method for

describing describing and and exchanging exchanging

DescribesDescribes structurestructure andand semantics,semantics, notnot formattingformattingXML provides a uniform method for XML provides a uniform method for describing describing and and

and exchanging exchanging DescribesDescribes structurestructure andand semantics,semantics, notnot formattingformatting
…

Meta Language

1.

2.

3.

Use letters of alphabet.

Spaces between words.

Read from left to write.

Meta Language 1. 2. 3. Use letters of alphabet. Spaces between words. Read from left to
Meta Language 1. 2. 3. Use letters of alphabet. Spaces between words. Read from left to
Meta Language 1. 2. 3. Use letters of alphabet. Spaces between words. Read from left to
Meta Language 1. 2. 3. Use letters of alphabet. Spaces between words. Read from left to
Meta Language 1. 2. 3. Use letters of alphabet. Spaces between words. Read from left to
French English German
French
English
German
…

XML Specification

1. Tags must not overlap

2. Tags case-sensitive

3. Must have root tag

……

… XML Specification 1. Tags must not overlap 2. Tags case-sensitive 3. Must have root tag
… XML Specification 1. Tags must not overlap 2. Tags case-sensitive 3. Must have root tag
… XML Specification 1. Tags must not overlap 2. Tags case-sensitive 3. Must have root tag
… XML Specification 1. Tags must not overlap 2. Tags case-sensitive 3. Must have root tag
… XML Specification 1. Tags must not overlap 2. Tags case-sensitive 3. Must have root tag
SVG WML MathML
SVG
WML
MathML
<?xml version=“1.0”?> <company id=“4859”> <name>3Months.com</name>
<?xml
version=“1.0”?>
<company id=“4859”>
<name>3Months.com</name>
<type>Web Development</type>
<address>
<street>Wakefield st</street>
<city>Wellington</city>
<country>New Zealand</country>
</address>
</company>

TheThe XMLXML Rules….Rules….

1.1. Single,Single, uniqueunique rootroot elementelement

2.2. MatchingMatching open/closeopen/close tagstags

3.3. ConsistentConsistent capitalisationcapitalisation

4.4. CorrectlyCorrectly nestednested elementselements (no(no overlappingoverlapping elements)elements)

5.5. AttributeAttribute valuesvalues enclosedenclosed inin quotesquotes

6.6. No repeating

attributes in

No repeating

anan elementelement

attributes in

Well Formed
Well Formed
edge” edge” HistoryHistory ofof XMLXML Standard Generalised Markup Language Standard Generalised Markup Language
edge” edge” HistoryHistory ofof XMLXML Standard Generalised Markup Language Standard Generalised Markup Language

edge” edge”

HistoryHistory ofof XMLXML

Standard Generalised Markup Languageedge” edge” HistoryHistory ofof XMLXML Standard Generalised Markup Language BeenBeen aroundaround sincesince

Standard Generalised Markup Language

BeenBeen aroundaround sincesince earlyearly 90’s90’sMarkup Language Standard Generalised Markup Language XML is a sub-set of SGML (SGML-lite) XML is a

XML is a sub-set of SGML (SGML-lite)BeenBeen aroundaround sincesince earlyearly 90’s90’s XML is a sub-set of SGML (SGML-lite) XML has smaller and

XML is a sub-set of SGML (SGML-lite)

XML has smaller and simpler syntaxof SGML (SGML-lite) XML is a sub-set of SGML (SGML-lite) XML has smaller and simpler syntax

XML has smaller and simpler syntax

SGML’s SGML’s development development provides provides the theand simpler syntax XML has smaller and simpler syntax foundationfoundation forfor XMLXML XML XML is therefore

foundationfoundation forfor XMLXML

XMLprovides provides the the foundationfoundation forfor XMLXML XML is therefore not is therefore not “bleeding “bleeding

XML

is therefore not

is therefore not

“bleeding

“bleeding

provides the the foundationfoundation forfor XMLXML XML XML is therefore not is therefore not “bleeding “bleeding
WhyWhy XMLXML isis soso powerfulpowerful Provides international, vendor independent standard information for
WhyWhy XMLXML isis soso powerfulpowerful Provides international, vendor independent standard information for
WhyWhy XMLXML isis soso powerfulpowerful
Provides international, vendor
independent standard
information
for describing
Any information – structured or
unstructured
XML
HTTP
own language XML Markup XML Markup languages/vocabularieslanguages/vocabularies RememberRemember XMLXML isis aa
own language
own language

XML Markup

XML Markup

languages/vocabularieslanguages/vocabularies

RememberRemember XMLXML isis aa meta-languagemeta-languageXML Markup languages/vocabularieslanguages/vocabularies Anybody can create their own language Anybody can create

Anybody can create their own languageRememberRemember XMLXML isis aa meta-languagemeta-language Anybody can create their WhyWhy wouldwould youyou wantwant

Anybody can create their

WhyWhy wouldwould youyou wantwant to?to?can create their own language Anybody can create their Each language designed for a specific Each

Each language designed for a specificcan create their WhyWhy wouldwould youyou wantwant to?to? Each language designed for a specific purpose….purpose….

Each language designed for a specific

purpose….purpose….

youyou wantwant to?to? Each language designed for a specific Each language designed for a specific purpose….purpose….
Mathematical Markup Language Mathematical Markup Language (MathML)(MathML) x2x2 ++ 4x4x ++ 44 =0=0
Mathematical Markup Language Mathematical Markup Language (MathML)(MathML) x2x2 ++ 4x4x ++ 44 =0=0

Mathematical Markup Language

Mathematical Markup Language

(MathML)(MathML)

x2x2 ++ 4x4x ++ 44 =0=0

<apply><plus/><apply><plus/> <apply><power/><apply><power/> <ci>x</ci><ci>x</ci>

<cn>2</cn><cn>2</cn>

</apply></apply> <apply><apply> <times/><times/>

<cn>4</cn><cn>4</cn>

<ci>x</ci><ci>x</ci> </apply></apply>

<cn>4</cn><cn>4</cn>

</apply></apply>

</apply></apply> <cn>4</cn><cn>4</cn> </apply></apply>
Synchronized Multimedia Synchronized Multimedia Integration Language (SMIL) Integration Language (SMIL) <DIV<DIV
Synchronized Multimedia Synchronized Multimedia Integration Language (SMIL) Integration Language (SMIL) <DIV<DIV

Synchronized Multimedia

Synchronized Multimedia

Integration Language (SMIL)

Integration Language (SMIL)

<DIV<DIV CLASS=“time”CLASS=“time” t:timeline=“seq”>t:timeline=“seq”> <P<P class=“time”class=“time” t:dur=“1”>t:dur=“1”>

ThisThis appearsappears forfor oneone secondsecond andand goesgoes awayaway

</P></P> <P<P class=“time”class=“time” t:dur=“1”>t:dur=“1”>

This appears after one second, remains visible for one second and

This appears after one second, remains visible for one second and

goesgoes awayaway </P></P>

<P<P class=“time”class=“time” t:dur=“1”>t:dur=“1”> This This appears appears after after two two seconds, seconds, remains remains visible visible for for one one second second and and goesgoes awayaway </P></P> </DIV></DIV>

visible for for one one second second and and goesgoes awayaway </P></P> </DIV></DIV>
VectorVector MarkupMarkup LanguageLanguage <v:shape style=‘top: 0; left: 0; width: 250; height: 250’ <v:shape
VectorVector MarkupMarkup LanguageLanguage <v:shape style=‘top: 0; left: 0; width: 250; height: 250’ <v:shape

VectorVector MarkupMarkup LanguageLanguage

<v:shape style=‘top: 0; left: 0; width: 250; height: 250’

<v:shape style=‘top: 0; left: 0; width: 250; height: 250’

stroke=“true” strokecolor=“red” strokeweight=“2”

stroke=“true” strokecolor=“red” strokeweight=“2”

fill=“truefill=“true”” fillcolor=“green” coordorigin=“0 0”

fillcolor=“green” coordorigin=“0 0”

coordsize=“175coordsize=“175 175”>175”> <v:path<v:path v=“mv=“m 8,658,65 ll

72,65,92,11,112,65,174,65,122,100,142,155,92,121,42,72,65,92,11,112,65,174,65,122,100,142,155,92,121,42,

155,60,100155,60,100

xx e”/>e”/> </v:shape></v:shape>

155,60,100155,60,100 xx e”/>e”/> </v:shape></v:shape>
WirelessWireless MarkupMarkup LanguageLanguage <wml><wml> <!--<!-- rootroot elementelement
WirelessWireless MarkupMarkup LanguageLanguage <wml><wml> <!--<!-- rootroot elementelement
WirelessWireless MarkupMarkup LanguageLanguage
<wml><wml>
<!--<!-- rootroot elementelement -->-->
<card<card id="card1"id="card1" title="Exampletitle="Example 1">1">
<p> <!-- a card can only contain P blocks or DO blocks
<p> <!-- a card can only contain P blocks or DO blocks
-->
-->
<do <do type="accept" type="accept" label="go label="go to to card card
2">
2">
<go href="#card2"/></do> This is the first card. </p>
<go href="#card2"/></do> This is the first card. </p>
</card> </card> <card <card id="card2" id="card2" title="Example title="Example 1"> 1">
<p><p> ThisThis isis thethe secondsecond card.card. </p></p>
</card></card>
</wml></wml>
XHTML XHTML Hypertext Markup Language (HTML) Hypertext Markup Language (HTML) <h1>The<h1>The
XHTML XHTML
XHTML XHTML

Hypertext Markup Language (HTML)

Hypertext Markup Language (HTML)

<h1>The<h1>The Title</h1>Title</h1>

<p>This is a piece of <b>HTML </b> </p>

<p>This is a piece of <b>HTML </b> </p>

OrOr isis it??it??<p>This is a piece of <b>HTML </b> </p> Next Next version version of of HTML HTML

Next Next version version of of HTML HTML = =</b> </p> <p>This is a piece of <b>HTML </b> </p> OrOr isis it??it??

is a piece of <b>HTML </b> </p> OrOr isis it??it?? Next Next version version of of
how how they they can can XML Schemas and DTDs XML Schemas and DTDs XMLXML
how how they they can can
how how they they can can

XML Schemas and DTDs

XML Schemas and DTDs

XMLXML isis aboutabout communicationcommunicationthey they can can XML Schemas and DTDs XML Schemas and DTDs NeedNeed toto speakspeak thethe

NeedNeed toto speakspeak thethe samesame languagelanguageand DTDs XMLXML isis aboutabout communicationcommunication Schemas/DTDs describe the vocabulary Schemas/DTDs describe

Schemas/DTDs describe the vocabularyNeedNeed toto speakspeak thethe samesame languagelanguage Schemas/DTDs describe the vocabulary ofof thethe

Schemas/DTDs describe the vocabulary

ofof thethe languagelanguage

i.e. i.e. what what tags tags are are used used and anddescribe the vocabulary ofof thethe languagelanguage bebe organisedorganised SchemasSchemas willwill

bebe organisedorganised

SchemasSchemas willwill replacereplace DTDsDTDsvocabulary ofof thethe languagelanguage i.e. i.e. what what tags tags are are used used and and

i.e. what what tags tags are are used used and and bebe organisedorganised SchemasSchemas willwill replacereplace
AnAn ExampleExample SchemaSchema <?xml version="1.0" encoding="UTF-8"?> <PressRelease>
AnAn ExampleExample SchemaSchema <?xml version="1.0" encoding="UTF-8"?> <PressRelease>

AnAn ExampleExample SchemaSchema

<?xml version="1.0" encoding="UTF-8"?> <PressRelease> <Title>Studend Loan Problems</Title>

<Date>20/7/01</Date>

<Content>Bla Bla Bla</Content> </PressRelease>

<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

<xsd:element name="PressRelease"> <xsd:complexType> <xsd:sequence> <xsd:element name="Title" type="xsd:string"/> <xsd:element name="Date" type="xsd:date"/> <xsd:element name="Content" type="xsd:string"/> <xsd:element name="Author" type="xsd:string" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

</xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema>
by W3C IntroducingIntroducing XSL-TXSL-T ExtensibleExtensible StylesheetStylesheet LanguageLanguage Standard ratified this
by W3C
by W3C

IntroducingIntroducing XSL-TXSL-T

ExtensibleExtensible StylesheetStylesheet LanguageLanguageby W3C IntroducingIntroducing XSL-TXSL-T Standard ratified this year Standard ratified this year by W3C Way of

Standard ratified this yearExtensibleExtensible StylesheetStylesheet LanguageLanguage Standard ratified this year by W3C Way of transforming an

Standard ratified this year by W3C

Way of transforming an XML documentratified this year Standard ratified this year by W3C Way of transforming an XML document intointo

Way of transforming an XML document

intointo anotheranother documentdocument

by W3C Way of transforming an XML document Way of transforming an XML document intointo anotheranother
XML document XSLT document Text HTML XSLT Processor XML TransformationTransformation
XML

XML

XML
document

document

XML document
XML document
XML document
XSLT document Text HTML XSLT Processor XML
XSLT
document
Text
HTML
XSLT Processor
XML
XML document XSLT document Text HTML XSLT Processor XML TransformationTransformation
XML document XSLT document Text HTML XSLT Processor XML TransformationTransformation

TransformationTransformation

describe the describe the SummarySummary The XML Specification = Meta-language for The XML Specification =
describe the describe the
describe the
describe the

SummarySummary

The XML Specification = Meta-language fordescribe the describe the SummarySummary The XML Specification = Meta-language for describingdescribing XMLXML

The XML Specification = Meta-language for

describingdescribing XMLXML Mark-upMark-up languageslanguages

XML XML Schemas Schemas (and (and DTD’s) DTD’s)XMLXML Mark-upMark-up languageslanguages structure of a particular XML Mark-up structure of a

structure of a particular XML Mark-up

structure of a particular XML Mark-up

languagelanguage

XSL-T documents transform XML documentstructure of a particular XML Mark-up languagelanguage XSL-T documents transform XML document into into another

XSL-T documents transform XML document

into into another another format format (HTML, (HTML, XML XML etc) etc)

document XSL-T documents transform XML document into into another another format format (HTML, (HTML, XML XML
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study

XML in Action – a case study

XML in Action – a case study

XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
XML in Action – a case study XML in Action – a case study
AgendaAgenda CaseCase studystudy backgroundbackground ChoosingChoosing aa DTD/SchemaDTD/Schema CreatingCreating XMLXML
AgendaAgenda CaseCase studystudy backgroundbackground ChoosingChoosing aa DTD/SchemaDTD/Schema CreatingCreating XMLXML

AgendaAgenda

CaseCase studystudy backgroundbackgroundAgendaAgenda ChoosingChoosing aa DTD/SchemaDTD/Schema CreatingCreating XMLXML –– thethe optionsoptions StoringStoring

ChoosingChoosing aa DTD/SchemaDTD/SchemaAgendaAgenda CaseCase studystudy backgroundbackground CreatingCreating XMLXML –– thethe optionsoptions StoringStoring

CreatingCreating XMLXML –– thethe optionsoptionsChoosingChoosing aa DTD/SchemaDTD/Schema StoringStoring XMLXML –– thethe optionsoptions

StoringStoring XMLXML –– thethe optionsoptionsCreatingCreating XMLXML –– thethe optionsoptions PresentingPresenting XMLXML –– thethe optionsoptions

PresentingPresenting XMLXML –– thethe optionsoptions–– thethe optionsoptions StoringStoring XMLXML –– thethe optionsoptions SolutionSolution BenefitsBenefits DemoDemo

SolutionSolution BenefitsBenefitsStoringStoring XMLXML –– thethe optionsoptions PresentingPresenting XMLXML –– thethe optionsoptions DemoDemo

DemoDemo–– thethe optionsoptions PresentingPresenting XMLXML –– thethe optionsoptions SolutionSolution BenefitsBenefits

thethe optionsoptions PresentingPresenting XMLXML –– thethe optionsoptions SolutionSolution BenefitsBenefits DemoDemo
standard HTML format. proprietary format an be made available.” CaseCase studystudy backgroundbackground October 2001
standard HTML format. proprietary format an be made available.”
standard HTML format.
proprietary format an
be made available.”
HTML format. proprietary format an be made available.” CaseCase studystudy backgroundbackground October 2001 –

CaseCase studystudy backgroundbackground

October 2001 – won contract to redevelop E-governmentmade available.” CaseCase studystudy backgroundbackground October 2001 – won contract to redevelop E-government

October 2001 – won contract to redevelop E-government

BusinessBusiness requirementsrequirements( ( www.e-government.govt.nz www.e-government.govt.nz )) – UsualUsual stuffstuff (accessible,(accessible,

– UsualUsual stuffstuff (accessible,(accessible, usableusable etc)etc)

– GuidelinesGuidelines compliantcompliant (squeaky(squeaky clean)clean)

““Content must be made available in acompliantcompliant (squeaky(squeaky clean)clean) Content must be made available in a standard HTML format.

Content must be made available in a standard HTML format.

Where information is provided in a proprietary format an

Where information is provided in a

alternative HTML version must also

alternative HTML version must also be made available.”

Can’tCan’t justjust putput itit upup asas aa PDFPDF anymoreanymorealternative HTML version must also be made available.” – SimpleSimple publishingpublishing processprocess –

SimpleSimple publishingpublishing processprocess

Future-proofedFuture-proofed

ConstraintsConstraintsprocessprocess – Future-proofedFuture-proofed – LimitedLimited budgetbudget – TightTight

LimitedLimited budgetbudget

TightTight timeframetimeframe

TraditionalTraditional optionsoptions StaticStatic sitesite Did not give simple publishing process for Did not give simple
TraditionalTraditional optionsoptions StaticStatic sitesite Did not give simple publishing process for Did not give simple

TraditionalTraditional optionsoptions

StaticStatic sitesiteTraditionalTraditional optionsoptions Did not give simple publishing process for Did not give simple publishing process

Did not give simple publishing process for

Did not give simple publishing process for

“unskilled”“unskilled” peoplepeople

ContentContent ManagementManagement SystemSystemprocess for “unskilled”“unskilled” peoplepeople – – StoreStore informationinformation inin RDBMSRDBMS –

– StoreStore informationinformation inin RDBMSRDBMS

– Not Not good good for for “document “document centric” centric” applications applications

– Cost,Cost, timeframe,timeframe, simplesimple workflowworkflow requirementsrequirements

applications applications – Cost,Cost, timeframe,timeframe, simplesimple workflowworkflow requirementsrequirements
TheThe challengechallenge – To create a system that allows non-technical To create a system that
TheThe challengechallenge – To create a system that allows non-technical To create a system that

TheThe challengechallenge– To create a system that allows non-technical To create a system that allows non-technical

– To create a system that allows non-technical

To create a system that allows non-technical

authors to publish to guidelines compliant

authors to publish to guidelines compliant

HTML (and eventually other formats)

HTML (and eventually other formats)

TheThe solutionsolutionto publish to guidelines compliant HTML (and eventually other formats) HTML (and eventually other formats) –

– XMLXML

compliant HTML (and eventually other formats) HTML (and eventually other formats) TheThe solutionsolution – XMLXML
ChoosingChoosing aa DTD/SchemaDTD/Schema MakeMake upup youryour ownown Don’tDon’t reinventreinvent thethe wheel!wheel!
ChoosingChoosing aa DTD/SchemaDTD/Schema MakeMake upup youryour ownown Don’tDon’t reinventreinvent thethe wheel!wheel!

ChoosingChoosing aa DTD/SchemaDTD/Schema

MakeMake upup youryour ownownChoosingChoosing aa DTD/SchemaDTD/Schema Don’tDon’t reinventreinvent thethe wheel!wheel! Xml.orgXml.org WeWe

Don’tDon’t reinventreinvent thethe wheel!wheel!aa DTD/SchemaDTD/Schema MakeMake upup youryour ownown Xml.orgXml.org WeWe selectedselected aa subsetsubset ofof

Xml.orgXml.orgownown Don’tDon’t reinventreinvent thethe wheel!wheel! WeWe selectedselected aa subsetsubset ofof DocBookDocBook

WeWe selectedselected aa subsetsubset ofof DocBookDocBookreinventreinvent thethe wheel!wheel! Xml.orgXml.org – Could Could handle handle all all the the information

– Could Could handle handle all all the the information information we we needed needed to to

storestore – SupportedSupported byby aa growinggrowing numbernumber ofof productsproducts

NZETC uses TEIneeded to to storestore – SupportedSupported byby aa growinggrowing numbernumber ofof productsproducts NZETC uses TEI

NZETC uses TEI

storestore – SupportedSupported byby aa growinggrowing numbernumber ofof productsproducts NZETC uses TEI NZETC uses TEI
storestore – SupportedSupported byby aa growinggrowing numbernumber ofof productsproducts NZETC uses TEI NZETC uses TEI
Creating XML – the Options Creating XML – the Options UseUse anan XMLXML editoreditor E.g.
Creating XML – the Options Creating XML – the Options UseUse anan XMLXML editoreditor E.g.

Creating XML – the Options

Creating XML – the Options

UseUse anan XMLXML editoreditorCreating XML – the Options Creating XML – the Options E.g. XML Spy, Xmetal, Framemaker etc

E.g. XML Spy, Xmetal, Framemaker etc

E.g. XML Spy, Xmetal, Framemaker etc

– Allow you to create a document that conforms

Allow you to create a document that conforms

toto aa specifiedspecified DTD/SchemaDTD/Schema

Problem: everybody potentially an author

Problem: everybody potentially an author

Convert Convert Word Word documents documents to to XML XMLProblem: everybody potentially an author Problem: everybody potentially an author – – StylesStyles

– StylesStyles

Problem: everybody potentially an author – Convert Convert Word Word documents documents to to XML XML
XSL-TXSL-T forfor HTMLHTML convertionconvertion (Internet)(Internet) DocBookDocBook WordWord (using(using
XSL-TXSL-T forfor HTMLHTML convertionconvertion (Internet)(Internet) DocBookDocBook WordWord (using(using
XSL-TXSL-T forfor
HTMLHTML
convertionconvertion
(Internet)(Internet)
DocBookDocBook
WordWord
(using(using Styles)Styles)
XMLXML
eBookeBook
WordWord isis
authoritativeauthoritative
AnythingAnything youyou want!!want!!
sourcesource
XMLXML eBookeBook WordWord isis authoritativeauthoritative AnythingAnything youyou want!!want!! sourcesource
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo

XconXcon DemoDemo

XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
XconXcon DemoDemo
Storing XML – the Options Storing XML – the Options RelationalRelational databasedatabase NativeNative XMLXML
Storing XML – the Options Storing XML – the Options RelationalRelational databasedatabase NativeNative XMLXML

Storing XML – the Options

Storing XML – the Options

RelationalRelational databasedatabaseStoring XML – the Options Storing XML – the Options NativeNative XMLXML RepositoryRepository – E.g. Excelon,

NativeNative XMLXML RepositoryRepositoryXML – the Options RelationalRelational databasedatabase – E.g. Excelon, Tamino, Ipedo, XindiceXindice E.g.

– E.g. Excelon, Tamino, Ipedo, XindiceXindice

E.g. Excelon, Tamino, Ipedo,

– FirstFirst generationgeneration productsproducts

– AtAt thethe timetime tootoo immature/expensiveimmature/expensive

OnOn thethe filefile systemsystem– FirstFirst generationgeneration productsproducts – AtAt thethe timetime tootoo immature/expensiveimmature/expensive

productsproducts – AtAt thethe timetime tootoo immature/expensiveimmature/expensive OnOn thethe filefile systemsystem
format appropriate format appropriate Presenting XML – the Options Presenting XML – the Options PublishingPublishing
format appropriate format appropriate
format appropriate
format appropriate

Presenting XML – the Options

Presenting XML – the Options

PublishingPublishing toto humanshumansXML – the Options Presenting XML – the Options Need Need to to “transform” “transform” XML

Need Need to to “transform” “transform” XML XML to to a aXML – the Options PublishingPublishing toto humanshumans forfor humanshumans PhysicalPhysical printprint ––

forfor humanshumans

PhysicalPhysical printprint –– outout ofof scopescope“transform” XML XML to to a a forfor humanshumans HTMLHTML obviousobvious choicechoice XSL-TXSL-T toto

HTMLHTML obviousobvious choicechoicePhysicalPhysical printprint –– outout ofof scopescope XSL-TXSL-T toto transformtransform XMLXML toto HTMLHTML

XSL-TXSL-T toto transformtransform XMLXML toto HTMLHTMLoutout ofof scopescope HTMLHTML obviousobvious choicechoice NotNot thethe onlyonly wayway toto presentpresent toto

NotNot thethe onlyonly wayway toto presentpresent toto humanshumans– SMIL,SMIL, SVG,SVG, MathMLMathML etcetc – Audience Audience must have software must have software

– SMIL,SMIL, SVG,SVG, MathMLMathML etcetc

– Audience

Audience

must have software

must have software

What What about about publishing “Raw” XML? publishing “Raw” XML?
What
What
about
about
publishing “Raw” XML?
publishing “Raw” XML?
Organisation C Website XML document Organisation A Website XML document HTML document Organisation B Website
Organisation C Website XML document
Organisation C
Website
XML
document
Organisation C Website XML document Organisation A Website XML document HTML document Organisation B Website

Organisation A Website

XML

document

HTML

document

Organisation B Website

HTML

document

Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
Website XML document Organisation A Website XML document HTML document Organisation B Website HTML document
DemoDemo
DemoDemo
DemoDemo

DemoDemo

DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo
DemoDemo