UWE logo University of the West of England Home Page AMRC Research AMRC SEEDS Research SEEDS

Software Engineering Research Group - Centre for Complex Cooperative Systems logoCentre for Complex Cooperative Systems

Campus site map

Directions and Map of Campus - Directions and Map - Multimap Multimap zoomable map

UWE Frenchay Campus Information Map of Frenchay Campus - Microsoft Live Local - created as part of the FOLD project.

Web site map

Peter Hale My Home Page

AMRC Home Page - AMRC Home Page

SEEDS Home Page - SEEDS Home Page

AMRC Site Map Site Map

AMRC Text Only Site Map Text Only Site Map

SEEDS Site Map Site Map

SEEDS Text Only Site Map Text Only Site Map

Interactive SVG Examples - Interactive SVG Examples

Visualisation and Interaction - http://www.cems.uwe.ac.uk/~phale/#VisualisationandInteraction - Other Explanations and Examples.

Peter Hale Home Page XML Section Home Page XML - Main Page XML.

XML - XML Information and Examples.

XML - http://www.cems.uwe.ac.uk/~phale/#XMLeXtensibleMarkupLanguage


Usability Survey

A survey on usability, any feedback would be very welcome on the research topic (or about the survey) - Click Here to take part in a usability survey, and support my PhD research, for anyone who does not want to remain anonymous, we would be pleased to take an interest in their research.

The survey compares these interfaces -

Taxonomy - http://www.cems.uwe.ac.uk/~phale/ELearning/ELearningDemonstration1.htm.

Diagrammatic - http://www.cems.uwe.ac.uk/~phale/ELearning/ELearningDemonstration2.htm.

And asks for further advice on end-user programming.

I'm interested in feedback from anyone, whatever their level of IT skills.

Survey - Seeking feedback on software usability.


Create polls and vote for free. dPolls.com

Survey Results - http://www.cems.uwe.ac.uk/amrc/seeds/EndUserProgramming.htm#SurveyResults - http://www.toluna.com/polls/37921/Do_You_Think_End-User_Programming_can_be_made_possible?.


XML Examples - XSLT Transform

This example shows an XSLT transformation from an LDAP representation exported to XML to a representation that is required for the Faculty Information System Project of Chris Wallace. LDAP, Lightweight Directory Access Protocol, is an Internet protocol that email and other programs use to look up information from a server.

The transformation was performed on the full staff details for our faculty using an XQuery run on the eXist XML database. Below is the LDAP file, the stylesheet and the result file. I hope to put the XQuery, stylesheet and example files on our Faculty Information System teams' eXist demo site soon.

LDAP file

<fisLDAPPerson>

<dn>uid=phale,ou=staff,ou=people,dc=cems,dc=uwe,dc=ac,dc=uk</dn>

<objectClass>top</objectClass>

<objectClass>person</objectClass>

<objectClass>organizationalPerson </objectClass>

<objectClass>inetOrgPerson</objectClass>

<objectClass>cemsStaffPerson</objectClass>

<uid>phale</uid>

<employeeType>Research Associate</employeeType>

<salutation>Mr</salutation>

<givenName>Peter</givenName>

<initials>P.</initials>

<sn>Hale</sn>

<cn>Peter Hale</cn>

<physicalDeliveryOfficeName>Dupont</physicalDeliveryOfficeName>

<mail>Peter2.Hale@uwe.ac.uk</mail>

<telephoneNumber>+44 (0) 117 32 83821</telephoneNumber>

<facsimileTelephoneNumber>+44 (0) 117 32 83960</facsimileTelephoneNumber>

<labeledURI>http://www.cems.uwe.ac.uk/~phale/</labeledURI>

<researchInterest>http://www.cems.uwe.ac.uk/~phale/ http://www.cems.uwe.ac.uk/~phale/</researchInterest>

<researchInterest>Semantic Web</researchInterest>

<researchInterest>Decision Support</researchInterest>

<researchInterest>Ontology</researchInterest>

<expertiseArea>http://www.cems.uwe.ac.uk/~phale/ http://www.cems.uwe.ac.uk/~phale/</expertiseArea>

<expertiseArea>Semantic Web</expertiseArea>

<expertiseArea>Decision Support</expertiseArea>

<expertiseArea>Ontology</expertiseArea>

<publicEntry>TRUE</publicEntry>

</fisLDAPPerson>


Source File - source.txt


Stylesheet

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:output method="xml" indent="yes"/>

<xsl:template match="/">

<personList>

<xsl:apply-templates/>

</personList>

</xsl:template>


<xsl:template match="fisLDAPPerson">

<person>

<name>

<xsl:value-of select="cn" />

</name>

<firstName>

<xsl:value-of select="givenName" />

</firstName>

<surname>

<xsl:value-of select="sn" />

</surname>

<ext>

<xsl:value-of select="telephoneNumber" />

</ext>

<room>

<xsl:value-of select="physicalDeliveryOfficeName" />

</room>

<email>

<xsl:value-of select="mail" />

</email>

</person>

</xsl:template>

</xsl:stylesheet>


XSLT Stylesheet File - stylesheet.txt


Result XML

<personList>

<person>

<name>

Peter Hale

</name>

<firstName>

Peter

</firstName>

<surname>

Hale

</surname>

<ext>

+44 (0) 117 32 83821

</ext>

<room>

Dupont

</room>

<email>

Peter2.Hale@uwe.ac.uk

</email>

</person>

</personList>


Result File - result.txt

Explanation

The stylesheet transforms the source file by matching on the root of the source file, then creating the <personList> node. It then matches on the <fisLDAPPerson> tag. For each <fisLDAPPerson> tag (I've only included myself in this one) the stylesheet creates the <person> node. It then only chooses the child tags we want and replaces the tag name in the source with the tag name we require.

Stylesheet to allow multiple occurrences of fields, and to show only internal extension number, also this one will show homepage, salutation, and intitials.


XSLT Stylesheet File - stylesheet2.txt


Result XML

This would show multiple occurrences

e.g if I had an extra home page in my LDAP file of my blog -

<labeledURI>http://userdrivenmodelling.blogspot.com/;/labeledURI>

This would give me a second homepage

<personList>

<person>

<name>

Peter Hale

</name>

<firstName>

Peter

</firstName>

<surname>

Hale

</surname>

<ext>

83821

</ext>

<room>

Dupont

</room>

<email>

Peter2.Hale@uwe.ac.uk

</email>

<homepage>

http://www.cems.uwe.ac.uk/~phale/

</homepage>

<homepage>

http://userdrivenmodelling.blogspot.com/

</homepage>

<salutation>

Mr

</salutation>

<initials>

P.

</initials>

</person>

</personList>


Result File - result2.txt


Possible Schema for result document

XSD Schema File - staff.xsd

This includes extra fields of researchInterest, expertiseArea, and employeeType.


A fuller explanation and other examples of stylesheets can be found at Wikipedia.


Other XML Information and Examples

AspectXML - Article - http://www.oreillynet.com/xml/blog/2005/09/part_3_assets_atom_feeds_and_a.html - [Part 3] Assets, Atom Feeds, and AspectXML - The Triple Threat of Web Development? - O'Reilly XML.com - M. David Peterson.

AspectXML - http://www.aspectxml.org/ - Community Open Source Project.

AspectXML - M. David Peterson - User Driven Programming and AspectXML - O'Reilly Blog.

DBpedia and Simile Timeline - http://thewallaceline.blogspot.com/2007/12/dbpedia-and-simile-timeline.html - http://en.wikibooks.org/wiki/XQuery/DBpedia_with_SPARQL_and_Simile_Timeline_-_Album_Chronology - Sunday, December 30, 2007 - Simile Timeline provides a neat way to display events and we have been using it on the FOLD project and on the DSA module to represent the events in the life of music artists and groups, with data extracted by hand from a copy of the Rolling Stones Review. Having discovered DBpedia, it seems obvious to progress to using this data source instead. The XQuery code is presented in an article in the Wikibook.

Faculty Online Data (Fold) - Faculty Online Data (FOLD) - Studentsonline.

FormFaces - http://www.formfaces.com/main.html - XForm - XML Form editing tool Tool.

FormsPlayer - http://www.formsplayer.com/content/index.html - XForm - XML Form editing tool Tool.

Kurt Cagle - I Think, Therefore I eXist ... - Sunday September 17 - O'Reilly XML.com.

Kurt Cagle - Understanding XForms:Events and Actions - O'Reilly XML.com.

Kurt Cagle - Understanding XML.

Native XML Databases for Information Systems - Chris Wallace - XQuery Workshop April 2006.

OpenLaszlo - http://www.laszlosystems.com/developers/OpenLaszlo - Developer Zone.

Orbeon - http://www.orbeon.com/ - Orbeon XForms Presentation Server.

Orbeon Report - Orbeon Report - Doc - PDF.

O'Reilly XML.com - http://www.xml.com/pub/a/2006/10/18/developing-an-openlaszlo-app.html - Developing an OpenLaszlo App - Sreekumar Parameswaran Pillai - October 18, 2006.

O'Reilly XML.com - http://www.xml.com/pub/a/2001/02/14/functional.html - Functional Programming and XML - Bijan Parsia - February 14, 2001.

O'Reilly XML.com - http://www.xml.com/pub/a/2006/10/11/introducing-open-laszlo.html - Introducing OpenLaszlo - Sreekumar Parameswaran Pillai - October 11, 2006.

O'Reilly XML.com - http://www.xml.com/pub/a/2006/11/01/migrating-to-xforms-php.html - Migrating to XForms - Paul Sobocinski - November 01, 2006.

O'Reilly XML.com - http://www.oreillynet.com/xml/blog/2006/10/three_ways_of_writing_xml_tran.html - Three ways of writing XML transformation programs - Rick Jelliffe - October 9, 2006.

Process Modelling - PSL - Process Specification Language and XML (Extensible Markup Language) - http://www.cems.uwe.ac.uk/amrc/seeds/PeterHale/ProcessSpecificationLanguage.htm.

Profiling XML Schema - O'Reilly XML.com - Paul Kiel - September 20, 2006.

Stylus Studio - Building Workflow Applications with XML and XQuery - Dr Michael Kay

Tag Cloud - Programme Search by Tag Cloud. - Internal Only at present.

Tag Cloud - Tag Cloud of Staff Keywords - Internal Only.

XForms Example - Form Editor - Created Using FromFaces and eXist - Internal Only at present.

XML Access Languages - XML UK.org - Includes presentation of Chris Wallace - SEEDS member - Tuesday 26 September - CCLRC Rutherford Appleton Laboratory - Didcot, Oxfordshire.

XML Examples - Schema and DTD.

XML to SVG Transformation Example using XSLT - State Transition Diagram - Manufacturing Process Flow.

XSL Transformations - Dr Dobbs's Portal - A delivery medium for executable content over the Internet - Extensible Stylesheet Language Transformations help you separate XML content from presentation - The possibility of bundling together the language processor with the program and data opens up tremendous opportunities, allowing special purpose languages to be developed and used without requiring the end users to install additional components to their web browser. This also largely eliminates compatibility problems stemming from the unstandardized nature of scripting (and other) languages built into web browsers currently in use.

XSL Transformations (XSLT) in Mozilla - http://www.mozilla.org/projects/xslt/ - Mozilla XSLT transformation within the Browser.

XQuery examples eXist XML Database (Chris Wallace) - XQuery examples.

XQuery/RDF and the Emp-Dept case study - http://en.wikibooks.org/wiki/XQuery/RDF_and_the_Emp-Dept_case_study - The Employee -Department case study used in the comparison of SQL and XQuery is used here to explore the XQuery/SPARQL pairing. This is a work-in-progress as the writer learns about RDF, the semantic web and linked data. - Chris Wallace.

XQuery Wikibook - XQuery Examples Collection - http://en.wikibooks.org/wiki/XQuery - This is a collaborative project and we encourage everyone who is using XQuery to contribute their XQuery examples.


RDF

RDF - RDF information and examples.

RSS

RSS - RSS information.


XML (eXtensible Markup Language)

XML - XML Information and Examples.

Conferences

ACM Special Interest Group on Hypertext, Hypermedia and the Web - http://www.sigweb.org/conferences/deng-cover.shtml - Conferences.

ACM Document Engineering Confernce Details - http://www.documentengineering.org/ - The ACM Symposium on Document Engineering is an annual meeting of researchers active in document engineering.

ACM - DocEng 2005 - http://www.hpl.hp.com/conferences/DocEng2005/ - ACM Symposium on Document Engineering - 2-4 November 2005 - Bristol, United Kingdom.

ACM - DocEng 2006 - http://www.cwi.nl/events/2006/DocEng2006/ - ACM Symposium on Document Engineering - 10-13 October 2006 - Amsterdam, Netherlands.

ACM - DocEng 2007 - http://doceng07.cs.umanitoba.ca/ - ACM Symposium on Document Engineering - 28-31 August 2007 - Winnepeg, Canada.

Sixth International Conference on Aspect-Oriented Software Development - aosd.07 - Vancouver, British Columbia March 12-16, 2007.

SVG Open 2008 - http://svgopen.org/2008/index.php - 6th International Conference on Scalable Vector Graphics - 26th to 28th August - Nuremberg - Germany - The world conference on SVG will this year take place in the center of Nuremberg. Located in the south of Germany.

WWW 2006 - Edinburgh Conference - May 23-26.

XML.Com - Conferences - http://conferences.oreillynet.com/.

XML 2006 - http://2006.xmlconference.org/ - XML 2006 - The world's oldest and biggest XML conference - 4-7 December - Boston, USA.

XML Access Languages - XML UK.org - Includes presentation of Chris Wallace - SEEDS member - Tuesday 26 September - CCLRC Rutherford Appleton Laboratory - Didcot, Oxfordshire.

XML Prague Conference - Prague Conference - June 17-18 Prague.

XTech Conference - Schedule - XTech 2006: "Building Web 2.0" - 16-19 May 2006, Amsterdam, The Netherlands.


Other Links

Devon Portal - http://www.devonline.gov.uk/ - Adam Retter is responsible for the use of XML and eXist technologies for this.

EXist - http://exist.sourceforge.net/ - Open Source Native XML Database.

XML.Org - http://xmluk.org/ - Applying XML and Web Services Standards In Industry.

XML UK - http://xmluk.org/ - The United Kingdom Forum for Structured Information Standards.


Home Pages

SEEDS Page - SEEDS Home Page

Software Engineering Research Group - http://www.cems.uwe.ac.uk/cccs/researchgroup.php?menu=off&group=serg - SERG's mission is to bridge the gap between software engineering research and its application to different disciplines.

Peter Home Page - Peter Hale Home Page


Developed by Peter Hale, 2005. The University of the West of England, Bristol, UK.


This page has been Accessed Free Counter times since August 2006.


Made with Notepad Valid XHTML Valid CSS

Terms and conditions
   Privacy policy    Accessibility

© 2006 University of the West of England, Bristol (except acknowledged extracts from newspapers, journals, etc)