_______ is an XML-related technology that is used to find elements, attributes, and other information in your XML document.
XPath can locate any type of information in an XML document with one line of code that returns a value when executed and is referred to as a(n) ________.
______ and ______ are both new XML-related technologies that extend or borrow from XPath.
XPointer  &   XQuery
An Xpath expression describes the location of an element or attribute in our XML document.
By starting at the _______ element, we can select any element in the XML document by carefully creating a chain of children elements.
When creating our XPath statement, each element is separated by a _________.
forward slash  (i.e “/”)
In XPath, you reference an element by using it’s __________.
At the end of your XPath expression, add the symbol _________ plus the name of the attribute you wish to select.
@;;;;;;;;;;; (the at “@” symbol)
If we want to select the supplier attribute of it’s parent element, chips, our expression would be__________.
[email protected]
When selecting elements, the method of using the complete path is referred to as the ________  path, and it is useful for selecting specific elements.
When you are using the absolute path to locate an element, your expression must start with the _________  element of your XML document.
In designating an element in an XML structure, if you wanted to refer to one of the sub elements, you will have to create a string of child elements from the root to the desired child element.
Xpath expressions can be created using _________ paths, so that instead of starting at the root element, you can simply reference the element from within the path structure and go from there.
To construct a relative path expression to select every count element, what would the correct expression look like?
If you wanted to select every cost element that had a book parent, you would use a relative expression like this:
With XPath expressions, _______ are used to select the descendants of an element.
//       (double forward slashes)
To construct a relative XPath expression to select every count element that has a book ancestor, you would use the code:
In an XPath expression, if you put _______ where an element would normally go, you can select the parent element.
..             (2 periods)
In an XPath expression, the element to the right of the double period will have its parent selected.
In an XPath expression, the wildcard _________ can select every child element at once because it automatically matches everything possible.
(the asterisk”*” symbol)
When working with XPath expressions, the ability to combine multiple expressions into one can be done by _________.
| (vertical bar, aka “pipe”)
There is NO LIMIT to the number of XPath statements that can be combined into one.
An XPath _________ is similiar to a programming if…then conditional statement that allows you to select elements based upon certain criteria.
An XPath predicate is contained within _________, and comes _______ the parent element of what will be tested.
[ ] , after
The format for writing an element-related predicate is:
parent[child some test here]
Besides testing the values of elements, you can also use predicates to check the values of attributes.
The format for writing an attribute-related predicate is:
element[@element’s attribute some test here]
Whenever you need to select an element and use a predicate on that same element, you will need to use a ______ to access that element’s value.
The acronym XSLT stands for __________.
Extensible Stylesheet Language Transformations
XSLT is used style and transform XML documents.
XSLT files must be save with _______ extension.
XSLT does not physically change an XML document- just how it is displayed.
Unlike XML documents, XSLT documents do not need to include an XML declaration statement at the top of each XSLT document.
Every XSLT file must include the root element: xsl:stylesheet .
The XSLT root element has which two required attributes?
version and xmlns:xsl
The standard for of an XSLT element is:
Using the xsl:prefix before every XSL element is recommended by NOT required.
Xml:stylesheet is a special declaration for linking XML documents wit XSLT stylesheets, and it must be placed before your xml declaration to successfully link your XML file to your XSLT code.
The xml-stylesheet element has which two attributes?
type & href
The ________ attribute added to the ________ element uses your knowledge of XPath to find information in your XML document.
match & xsl:template
If we wanted to find book elements in an XML document, we would set the match attribute to a simple XPath expression: book, and the code would look like this:
<xsl:template match=”book”>
The ________ element lets you decide when and where your template elements are used.
The _________ attribute lets you chose specific child elements when working with the xsl:apply-templates element.
The XSLT processor begins at the ______ element when looking for template matches.
The _________ element uses the select attribute to chose elements and obtain their contents.
The xsl:value-of element can only be used to retrieve the value of the xml elements; attributes must be retrieved with the xsl:attrib-value element.
To select the id attribute’s value from the code: ;student id=”1″;Jack;/student;, you would use the following code:
;xsl:value-of select=”@id” /;
Xslt’s styles can be applied t XML elements selectively based on the element’s attribute value.
All major browsers have support ofr XML and XSLT.
Firefox supports XML, XSLT, and XPath from version _____.
Internet Explorer supports XML, XSLT, and XPath from version ____.
Google Chrome supports XML, XSLT, XPath from version _____.
Opera supports XML, XSLT, and XPath from version _____.
Apple Safari supports XML and XSLT from version _____.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>