SlideShare a Scribd company logo
HTML to XML/XSL: Lessons LearnedJay KnapeSenior Manager of Web Content ServicesUniversity Information & Technology ServicesColumbus State University
Topics:IntroductionDefinitionsMigrationFuture PlansLessons LearnedQ & A
Introduction
UniversityColumbus State UniversityColumbus, Georgia 100 miles southeast of Atlanta8,298 students (fall 2010)72 undergrad and 52 grad degrees4 colleges
Web TeamReport to CIO4 Full-time Staff3 Part-time Student Assistants
Definition
XML iseXtensible Markup Language.XML is designed to transport and store data.
Benefits of XMLSeparates Data from Layout/DesignSimplifies Data SharingSimplifies Data TransportSimplifies Platform ChangesMakes Your Data More Available for Repurposing
XML Format<?xml version="1.0" encoding="ISO-8859-1"?><bookstore>    <book category="WEB">    <title lang="en">Learning XML</title>    <author>Erik T. Ray</author>    <year>2003</year>    <price>39.95</price>  </book></bookstore>
<?xml version="1.0" encoding="ISO-8859-1"?><csu>  <!-- ACCT 2101 Principles of Accounting 1 (3-0-3) -->  <ACCT>    <scbcrse_subj_code>ACCT</scbcrse_subj_code>    <scbcrse_subj_name>Accounting</scbcrse_subj_name>    <scbcrse_crse_numb>2101</scbcrse_crse_numb>    <scbcrse_lec_hr_low>3</scbcrse_lec_hr_low>    <scbcrse_lab_hr_low>0</scbcrse_lab_hr_low>    <scbcrse_credit_hr_low>3</scbcrse_credit_hr_low>    <scrsyln_long_course_title>Principles of Accounting 1 </scrsyln_long_course_title>    <scbdesc_text_narrative>      A study of the underlying theory and application of financial accounting concepts. It introduces accounting as a decision making tool. Financial accounting principles, methods, and procedures, including assets, liabilities, equity, and financial statements are examined. (Course fee required.)    </scbdesc_text_narrative>  </ACCT></csu>
XML is like:
Syntax RulesAll XML Elements Must Have a Closing TagXML Tags are Case SensitiveXML Elements Must be Properly NestedXML Documents Must Have a Root ElementXML Attribute Values Must be Quoted
Syntax RulesEntity ReferencesComments in XML<!-- This is a comment -->
XSL iseXtensible Stylesheet Language Components:XSL-FOXSLTXPath
XSL-FO iseXtensible Stylesheet Language Formatting Objectslanguage for formatting XML data for output to screen, print or other media
XPath isa language for finding information in an XML documenta syntax for defining parts of an XML documentuses path expressions to navigate in XML documentscontains a library of standard functionsa major component of XSLT
XSLT iseXtensible Stylesheet Language Transformationsa way to transform an XML document into HTMLfar more sophisticated than CSS
XSLT is
XSLT 2.0XSLT 2.0XSLT 1.0EXSLTVelocity
Template-Based PublishingPagePageXSLT2.0XSLPageXSL
Multi-File OutputXSLMobile PageXSLT2.0PageXSLWeb PageXSLPDF File
Migration
Process2007 – RFP for Web Content Management SystemSelected OmniUpdate OUCampus2007 – 2010 – manually migrated sites into CMSTable designed HTML pages; CSS; PHPCSS designed HTML pages; CSS PHP
Process2010 – University Branding effortChanged domain from colstate.edu to ColumbusState.eduNew LogosNew Web Page designs
Page Layouts
Templates
Site Importing
XML StructureLet’s take a look at our XML file format
<?xml version="1.0" encoding="UTF-8"?><?pcf-stylesheet path="/z-omniupdate/xsl/default.xsl" extension="php"?><!DOCTYPE document SYSTEM "http://commons.omniupdate.com/dtd/standard.dtd"><document>	<title></title>	<config>		<pageType></pageType>		<scripts></scripts>		<onLoad></onLoad>	</config>	<metadata>		<meta name="description" content="" />		<meta name="keywords" content="" />	</metadata>	<content>		<rightcontent></rightcontent>		<sidebox_title></sidebox_title>		<LeftInclude></LeftInclude>		<breadcrumb></breadcrumb>		<content></content>	</content></document>
XSL Structuredefault.xslImports in additional files <xsl:importhref="plain-w-nobox.xsl" /> <xsl:importhref="plain-w-box.xsl" /> <xsl:importhref="photos-w-nobox.xsl" /> <xsl:importhref="photos-w-box.xsl" /> <xsl:importhref="photos-w-redbox.xsl" />
Future Plans
PlansTransformation – With and Without CMSOpportunity with XML/XSL is unlimitedXML storage for reusable contentCourse DescriptionsDegree Description/RequirementsFaculty Profiles/CV
Lessons Learned
Lessons LearnedWhite-space is Preserved in XMLXML Naming RulesNames can contain letters, numbers, and other charactersNames cannot start with a number or punctuation characterNames cannot start with the letters xml (or XML, or Xml, etc)Names cannot contain spacesAny name can be used, no words are reserved.
Lessons LearnedNaming PracticesAvoid "-" characters. Avoid "." characters.Avoid ":" characters.Non-English letters like éòá are perfectly legal  XML elements are Case Sensitive
Lesson LearnedWeak error reporting with vague messagesNo room for small typos and mistakesBell shaped learning curveInvest in training and/or personnelDatabase vs XML arguments
Q & A
HTML to XML/XSL: Lessons LearnedJay KnapeSenior Manager of Web Content ServicesUniversity Information & Technology ServicesColumbus State Universityknape_jay@ColumbusState.eduTwitter: @knape_jay
Referenceshttp://www.w3schools.com/xmlhttp://www.w3schools.com/xslhttp://www.w3schools.com/xslt

More Related Content

PPT
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xml
ODP
DOCX
Introduction to xml
PPT
Introduction to XML
PPTX
INFT132 093 04 HTML and XHTML
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xml
Introduction to xml
Introduction to XML
INFT132 093 04 HTML and XHTML

What's hot (19)

DOCX
Xml material
PPTX
Introduction to XML
PDF
PPTX
Soa unit-1-well formed and valid document08.07.2019
PPT
02 well formed and valid documents
PPT
Introduction to XML
PDF
Embedding semantic annotations within texts: the FRETTA approach
PDF
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
PPTX
Fergus Fahey - DRI/ARA(I) Training: Introduction to EAD - Introduction to XML
DOCX
PDF
Dom Hackking & Security - BlackHat Preso
PPTX
XML-Extensible Markup Language
PPTX
1 wordprocessing ml subject - main document
PPS
XML - The Extensible Markup Language
PPT
Xml description
PPTX
Web data management
Xml material
Introduction to XML
Soa unit-1-well formed and valid document08.07.2019
02 well formed and valid documents
Introduction to XML
Embedding semantic annotations within texts: the FRETTA approach
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
Fergus Fahey - DRI/ARA(I) Training: Introduction to EAD - Introduction to XML
Dom Hackking & Security - BlackHat Preso
XML-Extensible Markup Language
1 wordprocessing ml subject - main document
XML - The Extensible Markup Language
Xml description
Web data management
Ad

Similar to HTML to XML/XSL: (20)

PPT
XML/XSLT
PPT
01 Xml Begin
PPT
PPTX
Week1 xml
PPT
Rendering XML Documents
PDF
XML-INTRODUCTION.pdf
PPTX
BITM3730Week5.pptx
PPT
5 xsl (formatting xml documents)
PDF
xml2cdvcx vnbm,azsdfghjkml;sxdfcgmndxfcgvhb nmfctgvbhjnm ,cfgvb nm,xc vb.pdf
PPT
Xml iet 2015
PPT
Rendering XML Document
PPTX
Introduction to XSLT
PPT
XML and XSLT
PDF
light_xml
PPTX
Web programming xml
PPT
Inroduction to XSLT with PHP4
PDF
Xml overview
PDF
Notes from the Library Juice Academy courses on XPath, XSLT, and XQuery: Univ...
XML/XSLT
01 Xml Begin
Week1 xml
Rendering XML Documents
XML-INTRODUCTION.pdf
BITM3730Week5.pptx
5 xsl (formatting xml documents)
xml2cdvcx vnbm,azsdfghjkml;sxdfcgmndxfcgvhb nmfctgvbhjnm ,cfgvb nm,xc vb.pdf
Xml iet 2015
Rendering XML Document
Introduction to XSLT
XML and XSLT
light_xml
Web programming xml
Inroduction to XSLT with PHP4
Xml overview
Notes from the Library Juice Academy courses on XPath, XSLT, and XQuery: Univ...
Ad

Recently uploaded (20)

PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PPTX
20th Century Theater, Methods, History.pptx
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PPTX
Introduction to Building Materials
PDF
Hazard Identification & Risk Assessment .pdf
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
Trump Administration's workforce development strategy
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
20th Century Theater, Methods, History.pptx
AI-driven educational solutions for real-life interventions in the Philippine...
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Introduction to Building Materials
Hazard Identification & Risk Assessment .pdf
LDMMIA Reiki Yoga Finals Review Spring Summer
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
B.Sc. DS Unit 2 Software Engineering.pptx
Trump Administration's workforce development strategy
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Paper A Mock Exam 9_ Attempt review.pdf.
Unit 4 Computer Architecture Multicore Processor.pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Introduction to pro and eukaryotes and differences.pptx
FORM 1 BIOLOGY MIND MAPS and their schemes

HTML to XML/XSL: