f11093f51fefbd9ab59908f795e6d07f.ppt
- Количество слайдов: 34
XML and the e-GIF Paul Miller Interoperability Focus UK Office for Library & Information Networking (UKOLN) P. Miller@ukoln. ac. uk http: //www. ukoln. ac. uk/ UKOLN is funded by Resource: the Council for Museums, Archives and Libraries, the Joint Information Systems Committee (JISC) of the Further and Higher Education Funding Councils, as well as by project funding from JISC and the EU. UKOLN also receives support from the Universities of Bath and Hull where staff are based. 1
Some context… 2
UK Government • 100% of government services available online by 2005 • • • e–Envoy ensures compliance Focus upon services Focus upon the citizen Focus upon the Joined Up approach Recognition of multi–channel architecture • UK currently eighth globally, but strong belief that the framework now established will serve to support 1 st class services. See www. e-envoy. gov. uk/ 3 See www. accenture. com/xd/xd. asp? it=en. Web&xd= IndustriesGovernmentgove_study. xml
Focus on services • Deliver services to the citizen • Services rather than resources – ‘transactional’ web sites • Not just about finding documents on a web site • Change of address pilot now (quietly!) live; – https: //www. addressingthechange. com – www. ihavemoved. com/ – www. simplymove. co. uk/. See www. gateway. gov. uk/ 4 See www. iagchampions. gov. uk/portals/address. pdf
Focus on the Citizen • Move away from the ‘silo mentality’ • Citizens need/want access to information/services/resources – These exist in different parts of local and national government, organised according to internal needs or procedures, and packaged according to particular house styles and conventions – None of which helps the citizen who just wants a new wheely bin 5 See www. ukonline. gov. uk/
Recognise a multi– channel future • The web is not the only game in town… • • • Mobile phones/ WAP/ 3 G PDAs Digital TV Telephone call centres One stop shop drop–in centres High street information kiosks The Post Office Banks Traditional access mechanisms • So… create content once for largely automated repackaging and repurposing 6 • XML Schema/ XSL, etc….
The e–GIF • e–Government Interoperability Framework • Technical standards and policies at the heart of e–Government • Conformance is mandatory across the Public Sector • Adoption of Internet and Web standards across government • XML/XSL, plus government–specific schemas • Change of Address service, for example, utilises XML Schemas to pass details between participants. See www. govtalk. gov. uk/ 7
Metadata Framework • Mandates the Dublin Core • Some elements are made mandatory • Probably adds Audience from AGLS, plus UK elements Disposal, Location, Preservation • Endorses many of the recently approved DC Qualifiers • Framework formally announced in Parliament last week. . . • Detail to follow • All will become mandatory. 8 See www. govtalk. gov. uk/egif/home. html
Some terms… 9
What is HTML ? • Hyper. Text Markup Language • World Wide Web Consortium recommendation (currently at version 4. 01) • Simplified subset of SGML for use on Web • Widely deployed and understood • Difficult to extend • Supported by major vendors, mostly • Technically superseded by XHTML now…. 10 See www. w 3. org/Mark. Up/
11 © Cabinet Office, Crown Copyright Reserved
12 © Cabinet Office, Crown Copyright Reserved
HTML Features • Easy to create • MS Word, etc. • Permissive <p> <UL> <li>Blah… </p> </ul> • Occasionally ambiguous • Case Insensitive. 13
What is XML ? • e. Xtensible Markup Language • World Wide Web Consortium recommendation • Simplified subset of SGML for use on Web • Addresses HTML’s lack of evolvability • Easily extended • Supported by major vendors • Increasingly used as a transfer syntax, but capable of far more…. 14 See www. w 3. org/XML/
15
XML Features • Extensible • Stricter than HTML on some rules • Therefore less ambiguous • Case Sensitive • Notions of ‘well–formed’ and ‘valid’ • A well formed document obeys the rules of XML • A valid document further obeys the constraints of an associated DTD or equivalent. 16
What is XHTML ? • XHTML 1. 0 • An expression of HTML 4. 01 in XML • The current W 3 C recommendation for creating web documents • XHTML 1. 1 • A strict expression of HTML 4. 01 in XML – Layout tagging removed altogether – Constructed in a modular fashion • Currently a W 3 C proposal. 17 See www. w 3. org/Mark. Up/
18 © CCTA, Crown Copyright Reserved
19 © CCTA, Crown Copyright Reserved
XHTML Features …which apply to other applications of XML, such as XML Schemas… 20
XHTML Features • Tags and values are case sensitive <P>Blah… </P> <P>Blah… </p> <p>Blah… </p> • All different. Only one is correct. 21
XHTML Features • All tags must nest û ü 22 <p>here is a paragraph containing <em>emphasis. </p></em> <p>here is a paragraph containing <em>emphasis. </em></p>
XHTML Features û ü 23 • All tags must close <p>here is a paragraph. </p>
XHTML Features • Attribute values must be quoted û ü 24 <img src=image. gif alt=Some explanatory text> <img src=“image. gif” alt=“Some explanatory text” />
XHTML Features û ü ü 25 • Empty elements must close, too </br>
What is XML Schema? • World Wide Web Consortium Recommendation (as of 2 May 2001) • Provides a means for defining the structure, content and semantics of XML documents • Used to build applications – Entries can be constrained, and even partially processed – Processors receiving data know what to expect, and how to handle it. 26 See www. w 3. org/XML/Schema/
27
© Example. com / W 3 C A Schema 28
© W 3 C An ‘instance document’ 29
XML Schema & Government • Part of the e–GIF • Increasingly used to control, enable and manage transactions on the Citizen’s Portal, Government Gateway, etc. • Also used to control, enable and manage interchange between government systems. 30 See www. govtalk. gov. uk/schema/home. html
A change of address • Change of Address service includes XML Schemas • Addresses BS 7666 compliant – Defined as a separate Schema • Enables numerous public sector departments to be informed of changed addresses in a machine– processable fashion… – …even if some departments can’t action the data in that way yet. 31
32
33
Conclusion • XML Schemas are an increasing part of the e–GIF • XML Schema is a key plank in building transactional, XML–based websites • XML Schema enables data interchange with much–reduced ambiguity • Hail. Storm seems to use XML Schema, too… – But is it a Microsoft flavour, or the real thing? 34 See www. microsoft. com/net/hailstorm. asp
f11093f51fefbd9ab59908f795e6d07f.ppt