Team 23 Multilingual Online Dictionary 資工碩一 吳全勳 R02922002 資工四 李竺軒 B99902033 電機四 何 偉 B99901068 資工二 王昱蓉 B01902018.

Slides:



Advertisements
Similar presentations
Dr. Alexandra I. Cristea CS 253: Topics in Database Systems: XPath, NameSpaces.
Advertisements

Dr. Alexandra I. Cristea CS 253: Topics in Database Systems: C2.
Dr. Alexandra I. Cristea XPath and Namespaces.
XSL XSLT and XPath 11-Apr-17.
1 XQuery Web and Database Management System. 2 XQuery XQuery is to XML what SQL is to database tables XQuery is designed to query XML data What is XQuery?
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.
Multi Platform Applications XML, XPath, XSLT transform.
Lecture 10. Back to the table example We can now return to considering in detail the first XSLT style-sheet we saw –The one which, when applied to the.
1 Overview of XPath. 2 XPATH XPath expressions are used to locate nodes in XML documents The list of nodes located by an XPath expression is called a.
XSL Concepts Lecture 7. XML Display Options What can XSL Transformations do? generation of constant text suppression of content moving text (e.g., exchanging.
XSL Transformations Lecture 8, 07/08/02. Templates The whole element is a template The match pattern determines where this template applies Result element(s)
Lecture 12. Default Processing in XSLT The default processing in XSLT is to process the XPath root node The default processing for various node types.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
CIS 375—Web App Dev II XPath. 2 XPath IntroductionIntroduction What is XPath? XPath is a syntax for defining parts of an _____ document XPath uses paths.
Overview of XPath Author: Dan McCreary Date: October, 2008 Version: 0.2 with TEI Examples M D.
Introduction to XPath Bun Yue Professor, CS/CIS UHCL.
XP ATH - XML Path Language. W HAT IS XP ATH ? XPath, the XML Path Language, is a query language for selecting nodes from an XML document.query languagenodesXML.
SD2520 Databases using XML and JQuery
CSE3201/CSE4500 XPath. 2 XPath A locator for elements or attributes in an XML document. XPath expression gives direction.
EXtensible Markup Language (XML) IEEM 5352 E-Enterprise Integration.
Xpath Xlink Xpointer Xquery Sources:
1/17 ITApplications XML Module Session 7: Introduction to XPath.
CG0119 Web Database Systems Using XPath to Navigate & Filter XML (via SimpleXML)‏
IS432 Semi-Structured Data Lecture 5: XSLT Dr. Gamal Al-Shorbagy.
CSE3201/CSE4500 Information Retrieval Systems
XPath XPath is used to navigate through elements and attributes in an XML document. XPath is a major element in W3C's XSLT standard - and XQuery and XPointer.
XP New Perspectives on XML Tutorial 6 1 TUTORIAL 6 XSLT Tutorial – Carey ISBN
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
WORKING WITH XSLT AND XPATH
1 Dr Alexiei Dingli XML Technologies X-Languages.
1 XPath XPath became a W3C Recommendation 16. November 1999 XPath is a language for finding information in an XML document XPath is used to navigate through.
Session II Chapter 2 – Chapter 2 – XSLhttp://
ECA 228 Internet/Intranet Design I XSLT Example. ECA 228 Internet/Intranet Design I 2 CSS Limitations cannot modify content cannot insert additional text.
1 Displaying XML Document Web and Database Management System.
Lecture 6: XML Query Languages Thursday, January 18, 2001.
Database Systems Part VII: XML Querying Software School of Hunan University
XSLT Streaming Terminology Understanding “Climbing” Roger L. Costello January 29, 2014.
WPI, MOHAMED ELTABAKH PROCESSING AND QUERYING XML 1.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
XPath Presented by Kushan Athukorala. 2 Agenda XPath XPath Terminology Selecting Nodes Predicates.
Submitted To: Ms. Poonam Saini, Asst. Prof., NITTTR Submitted By: Rohit Handa ME (Modular) CSE 2011 Batch.
Lesser Known Injections XML Injections AMol NAik.
XPath. XPath, the XML Path Language, is a query language for selecting nodes from an XML document. The XPath language is based on a tree representation.
More XML XPATH, XSLT CS 431 – February 23, 2005 Carl Lagoze – Cornell University.
 XSL – Extensible Style Sheet Language  XSLT – XSL Transformations › Used to transform XML documents to other formats,like HTML or other XML documents.
Session II Chapter 3 – Chapter 3 – XPath Patterns & Expressions Chapter 4 – XPath Functions Chapter 15 – XPath 2.0http://
University of Nottingham School of Computer Science & Information Technology Introduction to XML 2. XSLT Tim Brailsford.
IS432 Semi-Structured Data Lecture 4: XPath Dr. Gamal Al-Shorbagy.
Martin Kruliš by Martin Kruliš (v1.1)1.
CSE3201/CSE4500 XPath. 2 XPath A locator for items in XML document. XPath expression gives direction of navigation.
XSLT: How Do We Use It? Nancy Hallberg Nikki Massaro Kauffman.
1 XPath. 2 Agenda XPath Introduction XPath Nodes XPath Syntax XPath Operators XPath Q&A.
XSLT I Robin Burke ECT 360. Outline History / Terminology XSLT processing XSLT syntax XPath XSLT basics Lab.
XML DOM Week 11 Web site:
CITA 330 Section 5 XPath. XSL XSL (Extensible Stylesheet Language) is the standard language for writing stylesheets to transform XML documents among different.
1 XSL Transformations (XSLT). 2 XSLT XSLT is a language for transforming XML documents into XHTML documents or to other XML documents. XSLT uses XPath.
XML. What is XML? XML stands for EXtensible Markup Language XML is a markup language much like HTML XML was designed to carry data, not to display data.
XML Query languages--XPath. Objectives Understand XPath, and be able to use XPath expressions to find fragments of an XML document Understand tree patterns,
1 XSLT XSLT (extensible stylesheet language – transforms ) is another language to process XML documents. Originally intended as a presentation language:
XML and XPath.
Tutorial 04 (cont’) Using XPath Patterns in an XSLT Style Sheet.
{ XML Technologies } BY: DR. M’HAMED MATAOUI
XML in Web Technologies
Week 11 Web site: XML DOM Week 11 Web site:
HTML5 Level I Session II Chapter 3 - How to Use HTML to Structure a Web Page
XML WITH CSS.
Querying XML XPath.
Document Object Model (DOM): Objects and Collections
Querying XML XPath.
Presentation transcript:

Team 23 Multilingual Online Dictionary 資工碩一 吳全勳 R 資工四 李竺軒 B 電機四 何 偉 B 資工二 王昱蓉 B

Outline  The Scheme  XPath  Language Detection  Template

The Scheme bab.la linguee.com glosbe.com

XPath  XPath is a query language for selecting nodes from an XML document.  Using path expressions to navigate in XML documents  Containing a library of standard functions.  Major element in XSLT.  W3C recommendation

XPath Terminology  Nodes Harry Potter J K. Rowling (root element node) J K. Rowling (element node) lang="en” (attribute node)

XPath Terminology  Relationship of Nodes Harry Potter J K. Rowling book is the parent of the title, author, year, and price. title, author, year, and price are the children of book. title, author, year, and price are all siblings. The ancestors of title are book and bookstore. The descendants of bookstore are book, title, author, year, and price.

XPath Terminology  Selecting Nodes ExpressionDescription nodenameSelects all nodes with the name "nodename" /Selects from the root node //Selects nodes in the document from the current node that match the selection no matter where they are.Selects the current node..Selects the parent of the current attributes

XPath Terminology Harry Potter Learning XML Path ExpressionResult bookstoreSelects all nodes with the name "bookstore" /bookstoreSelects the root element bookstore. Note: If the path starts with a slash ( / ) it always represents an absolute path to an element! bookstore/bookSelects all book elements that are children of bookstore //bookSelects all book elements no matter where they are in the document bookstore//bookSelects all book elements that are descendant of the bookstore element, no matter where they are under the bookstore element all attributes that are named lang

Language Detection  Website:  1.Sign up for free account  2.Get personal API key 3.use Language Detection API for query  4.Transfer query by ajax  5.Return result in JSON

xmlhttp.open("GET",target, true); //true for asynchronous xmlhttp.onreadystatechange = function (e) { //callback function if (this.readyState == 4 && this.status == 200){ … } 好處 : 可以避免傳輸發生 delay 造成 script block 住的情形發生 影響使用者與網頁之間的互動 Asynchronous Ajax

Template  A website template is a pre-designed webpage, or set of webpages, that anyone can modify with their own content and images to setup a website.  Usually built using HTML and CSS code, website templates allow anyone to setup a website without having to hire a professional web developer or designer.  Some templates are complete websites that you can use to “plug-in” your own text and images with little, or no, editing of the layout or design.

Template  1. Search for a free template

Template  2. Compose

Template  3. Apply to our website and done!

Reference   