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