This is the cover slide..

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

Advanced XSLT. Branching in XSLT XSLT is functional programming –The program evaluates a function –The function transforms one structure into another.
Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular.
CG0119 Web Database Systems Parsing XML: using SimpleXML & XSLT.
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
XSLT (eXtensible Stylesheet Language Transformation) 1.
An Introduction to XML Based on the W3C XML Recommendations.
XML: Managing Data Exchange Stylesheets. Lesson Contents CSS The basic XSL file XSL transforms Templates Sort Numbering Parameters and Variables Datatypes.
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.
XSLT Stylesheets Some more advanced examples (adapted from the Edinburgh LT site)
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
XSL Unit 6 November 2. XSL –eXtensible Stylesheet Language –Basically a stylesheet for XML documents XSL has three parts: –XSLT –XPath –XSL-FO.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Understanding Page Template Components Lila Bronson Training Manager, OmniUpdate, Inc.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
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.
ECA 228 Internet/Intranet Design I Intro to XML. ECA 228 Internet/Intranet Design I HTML markup language very loose standards browsers adjust for non-standard.
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
HTML & XHTML Introduction. First HTML 1992 Marked-up text to represent a hypertext document for transmission over the network The hypertext mark-up language.
IS432 Semi-Structured Data Lecture 5: XSLT Dr. Gamal Al-Shorbagy.
Introduction technology XSL. 04/11/2005 Script of the presentation Introduction the XSL The XSL standard Tools for edition of codes XSL Necessary resources.
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
Extensible Markup and Beyond
1 CIS336 Website design, implementation and management (also Semester 2 of CIS219, CIS221 and IT226) Lecture 6 XSLT (Based on Møller and Schwartzbach,
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
EXtensible Markup Language (XML) and Documentation --ManojBokil -- Manoj Bokil.
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
 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.
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 "
XSLT Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Transforming Documents „a how-to of transforming xml documents“ Lecture on Walter Kriha.
Lecture 11 XSL Transformations (part 1: Introduction)
 2001 Prentice Hall, Inc. All rights reserved. Chapter 15 – Case Study: Message Forum with Active Server Pages Outline 15.1Introduction 15.2Setup and.
XML eXtensible Markup Language. Topics  What is XML  An XML example  Why is XML important  XML introduction  XML applications  XML support CSEB.
Date : 3/3/2010 Web Technology Solutions Class: Application Syndication: Parse and Publish RSS & XML Data.
Waqas Anwar Next SlidePrevious Slide. Waqas Anwar Next SlidePrevious Slide XML XML stands for EXtensible Markup Language.
Advanced PHP & RSS Utilizing XML, RSS, and PHP. XML (eXtensible Markup Language) XML is the language of all RSS feeds and subscriptions XML is basically.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
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.
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.
XML Design Goals 1.XML must be easily usable over the Internet 2.XML must support a wide variety of applications 3.XML must be compatible with SGML 4.It.
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
IT Accessibility Committee XML as Content Management Presented by Michael B. Short May 11, 2006 Prepared by the NYS Forum IT Accessibility Committee
XSLT: How Do We Use It? Nancy Hallberg Nikki Massaro Kauffman.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
XML Extensible Markup Language
Connecting to External Data. Financial data can be obtained from a number of different data sources.
XML Schema – XSLT Week 8 Web site:
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.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
Kynn Bartlett 11 April 2001 STC San Diego The HTML Writers Guild Copyright © 2001 XML, XHTML, XSLT, and other X-named specifications.
Unit 4 Representing Web Data: XML
Creating a Well-Formed Valid Document
Dreamweaver MX Lesson 14: Using Find and Replace.
LMEvents SharePoint Portal How-to Guide
Using Cascading Style Sheets Module B: CSS Structure
Chapter 7 Representing Web Data: XML
Creating an XML Document
More Sample XML By Sadia Anjum.
Tutorial 7 – Integrating Access With the Web and With Other Programs
CSE591: Data Mining by H. Liu
Unit 6 - XML Transformations
Presentation transcript:

This is the cover slide.

XML Web Exporter, Fielded Data, XSL Transformation Creating Data Feeds XML Web Exporter, Fielded Data, XSL Transformation This is your session title slide

Creating Data Feeds Introduction The XML Web Exporter Some of the Exporter settings and how they may apply to you A little bit about Fielded Data Modification Utility and fielded data. XSL Transformation (XSLT) Ads – hopefully we have this covered. Fielded data – not required but vendors may want you to send particular info. XML Web Exporter – next slide XSL Transformation (XSLT): an XML language for transforming XML documents XML declaration: <?xml version="1.0" encoding="UTF-8"?> Processor – analyzes the markup and passes structured info to the application. Markup and content – markup is the tags, content is in the tags and CDATA section Start-tag, end-tag, empty-element tag. Elements, child elements, attributes, comments, character escaping.

Creating Data Feeds using XSL Transformation What do you need? Ads (fielded data optional) XML Web Exporter A means of ‘transforming’ an XML document into another using an XSLT style sheet. Why would you do this? You can take a feed from AdBase and configure it to various vendor’s specifications. Ads – hopefully we have this covered. Fielded data – not required but vendors may want you to send particular info. XML Web Exporter – next slide XSL Transformation (XSLT): an XML language for transforming XML documents XML declaration: <?xml version="1.0" encoding="UTF-8"?> Processor – analyzes the markup and passes structured info to the application. Markup and content – markup is the tags, content is in the tags and CDATA section Start-tag, end-tag, empty-element tag. Elements, child elements, attributes, comments, character escaping.

XML Web Exporter Preferences Filters Export File location Page type, dates, product, ad type, etc Start and End Date ‘Define Placements’ Export File location Preferences – which job. Zone can be tricky because you can only choose none, or one. Page Type, Edition, Zone and Category are set to <None> which means ALL. Choosing Placement/Position allows you to select by such and the Category filter is grayed out, choosing Category allows you select by Category.

XML Web Exporter (cont.) Selecting Placement and Position

XML Web Exporter (cont.) Common settings Send Class Description Send SubClass Desc Extended Tags Fielded Data Tags Send Class Description – Includes the Placement description from the AdBase database Send SubClass Desc – Includes the Position description from the AdBase database Extended Tags – includes a larger set of tags. Additional tagged information from the Site Custom fields in the Shadorderuserfields table. Fielded Data Tags – Used in some cases for these items to be searchable online.

XML Web Exporter (cont.) Other Settings Ad Content Text Only checked Ad Content Text Only unchecked Advance Additional Fields – Adds <edition> and <zone> tags. Also images are handleds differently. Unchecked checked <![CDATA[ CHEVY 1966 Corvette 427 convertible, ground up restoration for estate sale, for more info. 949-680-522 ]]> <![CDATA[ <p align="center"><font face="GeoBook" size="1" color="#000000">CHEVY 1966 Corvette 427 convertible, ground up <br/> restoration for estate sale, for more info. 949-680-5292</font></p>  ]]> <A HREF="http://secure.adpay.com/images/items/10342566.jpg" target = "popup">http://secure.adpay.com/images/items/10342566.jpg</A> Photo As Order Num – check this out <upsl-url0>http://secure.adpay.com/images/items/10342566.jpg</upsl-url0>

XML Web Exporter (cont.) Make sure you have ad content. No ad content may be bad. Does anybody else have this problem. Is there a workaround?

Fielded Data Modification Utility This is one of our forms in the fielded data mod utility. Each of the ‘Configured Fields’ are on the right. For each field, you put the name that you would like the XML tag to be when output from the XML Web Exporter. In this case, the tag is <Experience>. In Product Define, you can associate fielded data forms based on placement, position, etc. Define List, Dependencies You can also have multiple instances of a form per ad. For instance, multiple job listing per ad. Each form becomes a separate job listing.

XSL Transformation XML Stylesheet Transformations (XSLT) is defined as a language for transforming source XML documents into other document formats using XML Path Language (XPath) as a query language. http://www.xmlfiles.com/articles/cynthia/xslt/ - has some sample code for implementing. XSL – Extensible Stylesheet Language. XSL Transformation (XSLT): an XML language for transforming XML documents XML declaration: <?xml version="1.0" encoding="UTF-8"?> Processor – analyzes the markup and passes structured info to the application. Markup and content – markup is the tags, content is in the tags and CDATA section Start-tag, end-tag, empty-element tag. Elements, child elements, attributes, comments, character escaping.

Sample Feed out of AdBase XML declaration: <?xml version="1.0" encoding="UTF-8"?> This represents the data that comes out of AdBase for one ad. There would be multiple ads

Sample Feed out of AdBase In this case, the ad-content is ‘text only’.

Sample XSLT file XML declaration: <?xml version="1.0" encoding="UTF-8"?> The nodes in maroon are going to be the nodes in the result document. UserName checks for a valid email. If it is, then it becomes the Username. Otherwise, it becomes noemail The tag <featuredInSearch> will only show up if one of the FeaturedAd tags is checked. Otherwise it doesn’t show. Same with TopAd tags.

Sample XSLT file (cont.) The four location tags only show up if OnlineMap is true. Otherwise the tags don’t show up. Same with the upsells being dependent on ScrollingBanner being true.

Resulting file sent to vendor

Sample 2 – RSS Feed In this case, we take a similar XML file and transform it into an RSS feed.

Sample 2 – Resulting file <?xml version="1.0" encoding="utf-8"?> <rss version="2.0"> <channel> <title /> <link /> <description /> <language>en-us</language> <item> <title><![CDATA[Automotive: Antiques and Classic - Imperial Beach]]></title> <link><![CDATA[http://cars-autos.utsandiego.com/motors/results/all?keywords=0010909251-01]]></link> <description> <![CDATA[MGB 1964 Red with black interior, Grea…]]> </description> </item> <title><![CDATA[Automotive: Autos for Sale - San Diego]]></title> <link><![CDATA[http://cars-autos.utsandiego.com/motors/results/all?keywords=0010909360-01]]></link> <![CDATA[LEXUS 2003 ES300 loaded, beautiful cond....]]> </channel> </rss> This file is sent to our online people and put into a scrolling widget.

Questions?