O Supervisor : Dr. Harold Boley o Advisor : Dr. Tara Athan o Team : Simranjit Singh Pratik Shah Bijiteshwar R Aayush.

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

Chungnam National University DataBase System Lab
Advanced XSLT II. Iteration in XSLT we sometimes wish to apply the same transform to a set of nodes we iterate through a node set the node set is defined.
Internet Technologies1 1 Lecture 4: Programming with XSLT.
1 XSLT – eXtensible Stylesheet Language Transformations Modified Slides from Dr. Sagiv.
XSLT (eXtensible Stylesheet Language Transformation) 1.
Introduction to XSLT. What is XML? Design Goals of XML XML Format XML Declaration ElementsAttributes.
1 CP3024 Lecture 9 XML revisited, XSL, XSLT, XPath, XSL Formatting Objects.
Demonstration of a Blaise Instrument Documentation System “BlaiseDoc” Gina-Qian Cheung May 25, 2005 Institution for Social Research University of Michigan.
Experience with an XML- Based Syllabus Editor and Search Engine Michael Wollowski Computer Science and Software Engineering Department Rose-Hulman Institute.
ModelicaXML A Modelica XML representation with Applications Adrian Pop, Peter Fritzson Programming Environments Laboratory Linköping University.
We Need Smart XML Processing HTML has ultra-complex semantics XML has no semantics Something must bridge the gap  A program ?  A clear set of data semantics?
XSL Unit 6 November 2. XSL –eXtensible Stylesheet Language –Basically a stylesheet for XML documents XSL has three parts: –XSLT –XPath –XSL-FO.
XML(EXtensible Markup Language). XML XML stands for EXtensible Markup Language. XML is a markup language much like HTML. XML was designed to describe.
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
Object Oriented Programming III1 XSLT Processing XML using XSLT Using XPath.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Internet Technologies1 XSLT Processing XML using XSLT Using XPath.
17 Apr 2002 XML Stylesheets Andy Clark. What Is It? Extensible Stylesheet Language (XSL) Language for document transformation – Transformation (XSLT)
CS 6975 Web Semantics Normalizers for RuleML 1.0 in XSLT 2.0 Nada Alsalmi ‍ Leah Bidlake ‍ Ao Cheng ‍ Thea Gegenberg ‍ Emily Wilson Instructor: Dr. Harold.
MC 365 – Software Engineering Presented by: John Ristuccia Shawn Posts Ndi Sampson XSLT Introduction BCi.
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
Introduction to XSLT & its use in Grainger Library full-text & metadata projects Thomas G. Habing Grainger Engineering Library Presentation to ASIS&T,
ECA 228 Internet/Intranet Design I Intro to XSL. ECA 228 Internet/Intranet Design I XSL basics W3C standards for stylesheets – CSS – XSL: Extensible Markup.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Aurora: A Conceptual Model for Web-content Adaptation to Support the Universal Accessibility of Web-based Services Anita W. Huang, Neel Sundaresan Presented.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
NHS CFH Approach to HL7 CDA Rik Smithies Chair HL7 UK NProgram Ltd.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
Lecture 6 of Advanced Databases XML Schema, Querying & Transformation Instructor: Mr.Ahmed Al Astal.
Ertan Deniz Instructor.  XML Schema  Document Navigation (Xpath)  Document Transformation (XSLT)
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
IS432 Semi-Structured Data Lecture 5: XSLT Dr. Gamal Al-Shorbagy.
XP New Perspectives on XML Tutorial 6 1 TUTORIAL 6 XSLT Tutorial – Carey ISBN
CIS 451: XSL Dr. Ralph Westfall February, Problems With XML no formatting capabilities contra formatting tags like, etc. in HTML CSS can be used.
WORKING WITH XSLT AND XPATH
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
1 CIS336 Website design, implementation and management (also Semester 2 of CIS219, CIS221 and IT226) Lecture 6 XSLT (Based on Møller and Schwartzbach,
Implementing Forms and Form Renderers in the Open Source Portfolio David McPherson, Chris Maurer Will Trillich, Janice Smith Materials by Sean Keesler.
FIGIS’ML Hands-on training - © FAO/FIGIS An introduction to XML Objectives : –what is XML? –XML and HTML –XML documents structure well-formedness.
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
CSE3201/CSE4500 Information Retrieval Systems XSLT – Part 2.
JAVA SERVER PAGES. 2 SERVLETS The purpose of a servlet is to create a Web page in response to a client request Servlets are written in Java, with a little.
ECA 228 Internet/Intranet Design I XSLT Example. ECA 228 Internet/Intranet Design I 2 CSS Limitations cannot modify content cannot insert additional text.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
XSLT Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Transforming Documents „a how-to of transforming xml documents“ Lecture on Walter Kriha.
CIS 375—Web App Dev II XSL. 2 XSL Introduction XSL stands for _____________________________. XSL is the language used for manipulating and displaying.
Lecture 11 XSL Transformations (part 1: Introduction)
XSLT Introduction. XSLT is the transformation part of XSL An XSLT file contains rules which are applied against and XML file to produce an output Outputs.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Applying eXtensible Style Sheets (XSL) Ellen Pearlman Eileen Mullin Programming.
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
More XML XPATH, XSLT CS 431 – February 23, 2005 Carl Lagoze – Cornell University.
From RuleML 0.88 to 0.89 Sublanguages Beyond Horn Logic ― Validation and Translation David Hirtle NRC-IIT, UNB April 21, 2005 Update: June 8, 2005.
CSE3201/CSE4500 Information Retrieval Systems XSLT – Part 2.
University of Nottingham School of Computer Science & Information Technology Introduction to XML 2. XSLT Tim Brailsford.
XSLT: How Do We Use It? Nancy Hallberg Nikki Massaro Kauffman.
Chapter – 8 Software Tools.
JavaScript and Ajax (JavaScript Environment) Week 6 Web site:
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
XML Schema – XSLT Week 8 Web site:
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.
XSLT, XML Schema, and XPath Matt McClelland. Introduction XML Schema ▫Defines the content and structure of XML data. XSLT ▫Used to transform XML documents.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
LegalRuleML Metamodel Tara Athan, Harold Boley, Guido Governatori, Monica Palmirani, Adrian Paschke, Adam Wyner July 13, 2013 RuleML th International.
1 XSLT XSLT (extensible stylesheet language – transforms ) is another language to process XML documents. Originally intended as a presentation language:
Extensible Markup Language (XML) Pat Morin COMP 2405.
Product Training Program
Querying and Transforming XML Data
LegalRuleML Metamodel
Presentation transcript:

o Supervisor : Dr. Harold Boley o Advisor : Dr. Tara Athan o Team : Simranjit Singh Pratik Shah Bijiteshwar R Aayush

 Introduction  Testing of RON  RuleML official Compactifier o 1: Canonical ordering o 2: Skipping of stripes o 3: Pretty Printing  Demo

1. In our first objective the task is to test the existing normalizer against some defined test cases. 2. Our second objective is to develop a tool called as ROC: RuleML official Compactifier. 3. The third step is to perform round tripping. The inverse form obtained from the second step will be composed for round tripping which will lead to improvement of both the suites obtained from 1 and 2 part.

 RuleML is a markup language for sharing rules in XML.  In the normalization of a RuleML document we want to transform stripe-skipped serializations back into ones that are fully striped.  It should be made sure that the sublements are in proper canonical order.  The last point to take care in normalization is to make all attributes that have default values explicit.  Finally, the pretty-print formatting is done to enhance the readability of the code.

Within a single stylesheet, a pipeline is expressed as a series of variables: In our code we will use three variables and modes for ROC

 Test Case 1(this is just a truncated part from original test case) buys Jill produce

 Result 1: buys Jill produce

 The normalizer discussed in the first part will insert all the missing stripes and make the document a fully striped one with exact canonical ordering.  Now the question arises if the elements are in proper ordering and all the stripes are added then xml will understand the left to right ordering of elements then why to add stripes.  To answer the above question we need a Compactifier which will invert the normalizer and make our xml file compact.  The fully stripped version of the normalizer will be converted into fully skipped version by Compactifier.

 The ROC will first check the canonical ordering of edges.  After the canonical check is performed it will remove all the stripes from the element to convert it into a fully skipped form.  The above step will help in obtaining our objective to make the XML element fully compact as is explicit from the name. We will be implementing our tool in the XSLT 2.0.  Due to its functioning we have named our tool as ROC: RuleML official Compactifier.

RuleML Schema used to infer canonical ordering. Re-Ordering the sub-elements as necessary to achieve canonical ordering. E.g.: Implies mainly contains an tag and a tag. Therefore the canonical ordering for the sub-elements of Implies is: oid, if, then, followed by all other sub-elements in the order that they appear.

Source: own-xsd.rulemlown-xsd.ruleml

 Edge is also referred to as role tag or method tag.  A test case consists of Nodes, Edges and Elements.  The serialization of the test case can be in different forms, e.g. Node-edge-… -Node-edge-Node etc.  This general structure is called to be as Striped form.  ROC omits the all the stripes so that user can have a fully Stripe Skipped form.

 After the previous step is complete, ROC has a canonically ordered test case as an input for further processing.  Stripe Skipping phase removes all the edges.  As the traversal goes on, every time an edge is encountered, ROC skips the edge and call for the copy template.  As soon as the copy template is called, it copies every content of the node as defined in the RuleML schema except for an edge.

Removes all, edges Copies all the other elements and sub-elements of the node.

Test Case Results NormalizedCompactified

Removes all,, edges. Copies all the other elements and sub-elements of the node.

Test Case Results NormalizedCompactified

Removes all edges from. Copies all the other elements and sub-elements of the node.

Test Case Results NormalizedCompactified

 Use the feature of “mode” from XSLT 2.0  Format the same Data differently in different places  XSLT Element

 Output RuleML nicely  Comments  For some tags we don’t want a new line

 Variables and Parameters

 Round-tripping: consistently refining a high-level model of a software system into a lower-level model (forward engineering) and abstracting a low-level model into a higher-level one (reverse engineering). RON ROC Input Output

ROC output RON output

ROC output

 XSLT 2.0     RuleML   RuleML 1.0 Normalization   Oxygen Editor   RON 