1 Web-Based XML File Repository CS360 Project #3 2002. 5. 21 Dongjoon Hyun.

Slides:



Advertisements
Similar presentations
XML-XSL Introduction SHIJU RAJAN SHIJU RAJAN Outline Brief Overview Brief Overview What is XML? What is XML? Well Formed XML Well Formed XML Tag Name.
Advertisements

Adding Dynamic Content to your Web Site
XSL eXtensible Stylesheet Language. What is XSL? XSL is a language that allows one to describe a browser how to process an XML file. XSL can convert an.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 13-1 COS 346 Day 24.
1 CP3024 Lecture 9 XML revisited, XSL, XSLT, XPath, XSL Formatting Objects.
XML Unit 6 October 31. XML, review XML is used to markup data Used to describe information Uses tags like HTML –But all tags are user-defined –Must be.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
XML Extensible Markup Language Standard supported by W3C (World Wide Web Consortium) HTML – End user oriented (presentation) XML – Application oriented.
PZ15A Programming Language design and Implementation -4th Edition Copyright©Prentice Hall, PZ15A - The Internet Programming Language Design and.
Python and Web Programming
Understanding Page Template Components Lila Bronson Training Manager, OmniUpdate, Inc.
17 Apr 2002 XML Stylesheets Andy Clark. What Is It? Extensible Stylesheet Language (XSL) Language for document transformation – Transformation (XSLT)
Chapter 16 The World Wide Web. 2 The World Wide Web (Web) is an infrastructure of distributed information combined with software that uses networks as.
CGI Programming: Part 1. What is CGI? CGI = Common Gateway Interface Provides a standardized way for web browsers to: –Call programs on a server. –Pass.
Chapter 13 XML Concept of XML Simple Example of XML XML vs. HTML in Syntax XML Structure DTD and CDATA Sections Concept of SAX Processing Download and.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
CS 1704 Introduction to Data Structures and Software Engineering.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
1 HTML and CGI Scripting CSC8304 – Computing Environments for Bioinformatics - Lecture 10.
Chapter 33 CGI Technology for Dynamic Web Documents There are two alternative forms of retrieving web documents. Instead of retrieving static HTML documents,
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
CGI programming Using Apache. Concepts Browser prepares parameter list List is attached to name of program to run on server "submit" button sends string.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
XML: Overview MIS 181.9: Service Oriented Architecture 2 nd Semester,
WORKING WITH XSLT AND XPATH
Demystifying the eXtensible Markup Language Nick Roberts & Jim Few
CP476 Internet Computing CGI1 CGI is a common way to provide for specific computations on server side, interactions with users, or access to databases.
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
DSpace UI Alexey Maslov. DSpace in general A digital library tool useful for storage, maintenance, and retrieval of digital documents Two types of interaction:
USING PERL FOR CGI PROGRAMMING
CSU - DCE Advanced Perl CGI Operation - Fort Collins, CO Copyright © XTR Systems, LLC Introduction to the Common Gateway Interface (CGI) on the.
Implementing Forms and Form Renderers in the Open Source Portfolio David McPherson, Chris Maurer Will Trillich, Janice Smith Materials by Sean Keesler.
Introduction to Applets CS 3505 Client Side Scripting with applets.
 2004 Prentice Hall, Inc. All rights reserved. 1 Chapter 34 - Case Study: Active Server Pages and XML Outline 34.1 Introduction 34.2 Setup and Message.
Java CGI Lecture notes by Theodoros Anagnostopoulos.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
JSTL, XML and XSLT An introduction to JSP Standard Tag Library and XML/XSLT transformation for Web layout.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
Extensible Stylesheet Language Chao-Hsien Chu, Ph.D. School of Information Sciences and Technology The Pennsylvania State University XSL-FO XSLT.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter X IXXXXXXXXXX XXXXXX.
IST 221 Internet Concepts and Applications Introduction to XML II CSS and XSLT Style Sheets.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
Introduction to Markup David J. Birnbaum University of Pittsburgh Slavic Digital Text Workshop University.
Using XML to store Descriptive Metadata Richard Murphy Rosarie O’Riordan Central Statistics Office Ireland.
Jennifer Widom XML Data Introduction, Well-formed XML.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
The Web Wizard’s Guide to HTML Chapter One World Wide Web Basics.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
 XSL – Extensible Style Sheet Language  XSLT – XSL Transformations › Used to transform XML documents to other formats,like HTML or other XML documents.
XML The Extensible Markup Language (XML ), which is comparable to SGML and modeled on it, describes how to describe a collection of data. A standard way.
HTML A brief introduction HTML1. HTML, what is? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup.
Week 10: HTML Forms HNDIT11062 – Web Development.
INTRODUCTION JavaScript can make websites more interactive, interesting, and user-friendly.
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Generating XML Data from a Database Eugenia Fernandez IUPUI.
1 The Internet Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
University of Kansas Department of Electrical Engineering and Computer Science Dr. Susan Gauch April 21, 2005 I T T C Introduction to Web Technologies.
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Web Programming Maymester 2004
XML Data Introduction, Well-formed XML.
More Sample XML By Sadia Anjum.
Unit 6 - XML Transformations
Presentation transcript:

1 Web-Based XML File Repository CS360 Project # Dongjoon Hyun

2 Contents Web-Based XML File Repository –Functions XML –XML –DTD –XSL CGI / HTML Seeing is believing.

3 Web-Based XML File Repository Web-Based –Browser XML File Repository –HTTP Server –Manage User File Directory (XML, XSL, …) XML File XSL File

4 Web-Based XML File Repository Functions Create Empty File Remove File View File Name List View File Content Edit/Save File Content Upload File

5 XML(eXtensible Markup Language) A Language –designed to describe content, rather than presentation –consists of elements element = start tag + content + end tag start tag may have attributes Alan 42 End Tag Start Tag trompette six trous Attribute

6 DTD(Document Type Definition) Describe the structure of XML <!DOCTYPE db [ ]> Root element Any number of person element - e+: one or more - e?: zero or one - e|e’: alternation - e,e’: concatenation Person’s subelements Name,age, (ordered!!) Character data db.dtd

7 sample.xml Alan 42 Alan2 43

8 XSL(XML Stylesheet Language) XSL –a stylesheet language designed to be used with XML data and documents –transform XML into another Format XSL is a set of template rules How does XSL work? * Output : raw text (Mainly, HTML..)

조교 강의. 저녁 8 시, 오후 3 시. <xsl:stylesheet xmlns:xsl=" 메모 memo.xml memo.xsl 메모 조교 강의. 저녁 8 시, 오후 3 시.

10 CGI (Common Gateway Interface) A standard for running external programs from a World-Wide Web HTTP server. –specifies how to pass arguments to the executing program as part of the HTTP request. –defines a set of environment variables. Commonly, the program will generate some HTML which will be passed back to the. Web Browser HTTP Server Static File? Executable File? (.cgi ) Execute Program Execution Result Request

11 CGI Program Call Program Call – Arguments Passing – => project3.cgi help – => project3.cgi list – => project3.cgi create test.xml

12 CGI Program Example … cout<< "Content-Type: text/html\n\n" \n" Sample CGI v1.0 Commands \n" list print filename list \n" create create file \n" remove remove file \n" edit display editable form of file contents \n" save save the modified file contents \n" upload upload file \n" \n" << endl; …

13 HTML ‘Form’ Tag <INPUT type=“text” maxlength=“20” name=input1 size=“20”> char str[100]; char* strPtr; strPtr = getenv("QUERY_STRING"); strcpy(str, strPtr); printf(“ %s ", str);

14 Reference