
Explore the fundamentals of XSLT, XPath, and XQuery through hands-on exercises, including creating XSLT stylesheets, looping, sorting elements, and producing HTML output.
Explore the fundamentals of XSLT, XPath, and XQuery through sections with quizzes and hands-on assignments. Install the free Eclipse IDE and engage with questions to build practical proficiency.
install and configure the eclipse ide for xml tools by first installing the java jdk, downloading eclipse, unzipping, and creating a desktop shortcut. learn basic setup and troubleshooting.
Launch the Eclipse IDE, set your workspace, and create a project to organize XML files and XML schemas for XSLT, XPath, and XQuery fundamentals.
Install the XML tool support in Eclipse IDE from the Eclipse Marketplace, selecting XML editors and tools to enable XML schemas and XSL style sheets.
This complete course guides you to develop several xsl stylesheets and provides three reference projects you can download as a zip from the resources section, then unzip to view.
Download the assignment solutions from the resources section and use them as reference while completing hands-on lectures and style sheet tasks. Submit your assignments for review.
Explore how XSLT transforms XML into another XML or HTML using XSL stylesheets and XPath to address nodes, with templates guiding the transformation.
Explore why XSLT matters by translating XML elements like ORDERID to ID and converting XML to HTML, enabling cross-system data exchange and web presentation.
Explore how the XSLT processor builds a node tree from the XML document, with order as the root, its id attribute, element children, and text nodes representing values before processing.
Create your first XSL document to transform Order.xml into HTML, using Eclipse's XSL wizard to generate Order.xsl. Define the stylesheet root with version 1.0 and an xsl prefix.
Apply an xslt stylesheet to an xml document; the xslt processor loads the xml as a node tree and uses the root element's template to generate the output.
Change the run configuration to output HTML instead of XML by renaming Order.out.xml to Order.out.html, then run again to generate the Order.out.html file.
Use xsl:value-of and xsl:select to pull data from xml, specifying nodes like order/customername and order/item to form the transformed output, such as showing 'order details for the customer: Sparsa Reddy'.
Iterate through order items with xsl:for-each and xsl:value-of to build an html table displaying item id, name, price, and quantity.
Learn to use xsl:choose with xsl:when and xsl:otherwise to categorize prices into platinum, gold, and silver in a new HTML table column.
Sorts XML node output by price using xsl:sort inside a for-each, enabling ascending and descending order based on number or text data types.
Extract the Order Id from the Order element using xsl:value-of to display the Id attribute in the HTML after the customer name line, then save, run the transformation, and refresh.
Learn to define multiple XSLT templates with template matches for CustomerName and Item, use xsl:template and xsl:apply-templates, and generate HTML output from XML transformations.
Learn how XPath provides a syntax to address nodes in an XML document tree. Explore its similarity to URLs, its use with XSLT and XQuery, and automation applications.
Create the XPath project, import Order.xml, and build an Order.xsl stylesheet to render order information in HTML with an h1 header and xsl:apply-templates.
Create templates to access the CustomerName and item details, and use dot notation in XPath to access the current node and display it with xsl:value-of in bold.
Learn XPath syntax to access parent and child elements in XSLT templates, retrieving the order id attribute from the parent and the item price from the price element.
Explore the differences between relative addressing and absolute addressing, and see how dot, ../, and ./ denote current, parent, and child nodes, while /Order/CustomerName shows root-based absolute paths.
Learn to process items with unique attribute values in XML using XSL and XPath. Use a predicate on @id='3' to display the third item's id, price, and name.
Apply xsl:if with XPath comparators to conditionally display shipping messages by price. Show free shipping when price is over 100, otherwise recommend purchasing with a higher-priced item.
learn to use the count and sum functions in XPath to display the total items and total price of an order after applying templates in XSL.
Learn how to use XPath rounding functions ceiling, floor, and round to adjust decimal prices in an XML transformation, demonstrated with hands-on steps in Eclipse and XSL processing.
Learn to extract text with XPath substring functions, including substring, substring-before, and substring-after, using XML text nodes and parameters like start position and number of characters.
Apply the translate function in XPath to convert lowercase text to uppercase by using its three parameters. See how the second parameter lists a to z to map to uppercase.
Transform an event XML into HTML using XSLT, applying XPath and foreach and count functions, and render event, organizer, venue, and participant details in an HTML table.
Create an xsl stylesheet to transform event.xml into html by defining a root template and templates for id, name, description, price, start time, and end time; output event.html.
Apply xsl transformations to render organizer and venue elements in html, defining templates for organizer and venue and displaying id, name, email, phone, street, and city.
Transform participants data into an html table by applying an xsl template, looping through participants with xsl:for-each, and rendering id, name, email, and phone numbers.
Convert the event id from an element to an attribute and retrieve it with xsl:value-of. Display the total number of participants at the top using the count function.
Learn how to sort participants by name in XSLT using xsl:sort within xsl:for-each, with ascending default and optional descending order.
Explore XQuery, a functional language for reading and transforming XML and well-formed HTML, with SQL-like syntax and XPath for locating nodes.
Import and set up the Eclipse xquery project, locate saxon.jar, and run books.xqy against books.xml using the saxon9he.jar engine and the Query class.
Load the entire XML with the doc function in XQuery, run Books.xqy via the Saxon engine, then filter with XPath price<40 to show two books by Bharath Thippireddy.
Explore FLWOR, the flower-inspired XQuery construct, and learn how for selects and loops through nodes, let assigns variables, where filters, order by sorts, and return outputs.
Explore using jQuery's for loop, where clause, and return statement to extract book titles from Books.xml with XPath expressions, demonstrating how XPath simplifies jQuery querying.
Learn to use a for loop with a variable and where clause, query prices, and sort book titles using the order by clause in XQuery.
Generate HTML from XML data by selecting book titles with XPath, iterating with a for loop, and rendering titles as ul with li items using jQuery and the data function.
Explore if-else conditioning in XQuery to display book titles by category, wrapping XML books in an xmlbook element and non-xml books in a non-xml element, using data($x/title).
Explore XQuery functions to manipulate data, including the upper-case and substring functions, and apply them to XML and NONXML book titles via XPath expressions.
Thank learners for taking the course, invite them to share achievements on LinkedIn and tag the instructor, and encourage ratings, reviews, and checking the bonus lecture with discounted coupons.
Sample of the reviews:
A clean tutorial, very useful, unfortunately we are obligated to develop on Eclipse IDE. I know we have other alternatives and this course is the fundamentals, that's why I gave it five stars, the lessons were most important then the Eclipse. \o/ Thank you so much teacher, I hope use it in the future... too close future. - Rodrigo Chagas de Miranda
Respond
Good intro course to the topic. Easy to follow along, pacing is good, and sections are broken up into chunks that don't drag on too long. Another good course by this instructor. - Jim White
It certainly was a good match. This course had provided me with the basics of XSLT, XPath & XQuery. The material was presented in an easy to follow format and the exercises certainly helped to grasp the concepts. This will help me to move to more advanced concepts and will certainly apply this in my day to day duties. Thank You! - Sergio Sabás
---
Learn the fundamentals of XSLT, XPath and XQuery.
If you know XML, XSLT is easy to master. This course will introduce you to the fundamentals of each component of XSLT:
You will learn how to create XSL document and provide transformation instructions through templates.
You will address the XML Elements by learning the basics of XPATH.
You will apply your understanding of XSL and XPATH to navigate and transform a XML Document.
You will then Learn the XQuery syntax and use it to query a XML document.
Adds value to your resume
Adding XSLT, XPath & XQuery in addition to your current Development skills will look great on your resume.
What are the requirements?
Eclipse IDE(Installation is covered in easy setup section)
A basic understanding of HTML and XML
What am I going to get from this course?
Become a navigator of XML by learning the basics of XPath
Apply your understanding of XSL and your ability to navigate using XPATH to XSLT
Use your new XPath & XSLT skills to manipulate and transform your XML
Use Query syntax to query and transform XML