SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
XML XSLT
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 30 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. _________ is an instructional element that pulls in other templates according to criteria and executes them within the main stylesheet
<xsl:template>
XML Entities
XML Tag Nesting
<xsl:apply-templates>
2. _________ can be entire document or part
XML Character Data Sections (CDATA)
<xsl:template>
XML Processing Instructions
XML Elements & Attributes
3. In XML you have to indicate when a element tag is empty.
<xsl:if>
XML Entities
XSLT (eXtensible Stylesheet Language Transformations)
Empty Tags <elem></elem>
4. Used to extract data from inside an XML file. Uses path like syntax
active
XML Entities
<xsl:if>
XPath (eXtensible Path Language)
5. Provide a way to help shorten and modularize your XML documents.
<xsl:for-each>
XML Parser - Whitespace
XPointer & XLink
XML Entities
6. Optional but helps identify the file as an XML file. Also helps you to list encoding (defines what types of characters your going to use) and standalone declaration. utf-8 is a unicode encoding standard corresponds well to the ascii character set. Ha
Empty Tags <elem></elem>
XML Parser - Whitespace
active
XML Declaration
7. _________ functions as a FOR loop except cannot break out of it - allows all nodes in a node-set to be processed - nodes are not processed in any particular order
<xsl:apply-templates>
XML Character Data Sections (CDATA)
XQuery
<xsl:for-each>
8. XSLT uses XPath to _______ and navigate thru XML documents
active
XML Attributes
filter
XML (eXtensible Markup Language)
9. They cannot be minimized. Must explicitly assign a value to a attribute and must be inside double quotes.
XML (eXtensible Markup Language)
XQuery
<xsl:copy>
XML Attributes
10. XSLT is the ____ part of XSL
STOICCS & VoFeAt
XML Attributes
XML (eXtensible Markup Language)
active
11. Used to contain character data you want part of the document content but don't want the parser to try and parse.
XML Parser - Whitespace
<xsl:if>
XML Character Data Sections (CDATA)
XSLT (eXtensible Stylesheet Language Transformations)
12. XSLT is a _________ language
<xsl:apply-templates>
XML Elements & Attributes
active
functional
13. It ignores white space unless it is inside an element.
<xsl:apply-templates>
XML Attributes
XPath (eXtensible Path Language)
XML Parser - Whitespace
14. Are a way to tell the XML parser to do something that is feature specific to that parser.
XQuery
XML Attributes
<xsl:copy>
XML Processing Instructions
15. Styling language that takes an XML file and "transforms" it into something else - like HTML - PDF - ASCII or even another XML file.
<xsl:template>
XML Character Data Sections (CDATA)
XSLT (eXtensible Stylesheet Language Transformations)
<xsl:template>
16. _________ allows you to set an order for node-set elements - optional attribute "data-type" allows for alphabetical sorting of text information or for order sorting of numeric
<xsl:apply-templates>
<xsl:apply-templates>
<xsl:sort>
XSLT (eXtensible Stylesheet Language Transformations)
17. Provide a way to prevent tags with same names but different meanings from colliding with each other.
<xsl:output>
XQuery
XML Namespaces
<xsl:for-each>
18. Sometimes called tags. Just like your used to in HTML.
XPointer & XLink
XSLT (eXtensible Stylesheet Language Transformations)
<xsl:if>
XML Elements & Attributes
19. _________ tests to see if a T/F condition is met - if True the specified elements are added to result tree
<xsl:apply-templates>
XML (eXtensible Markup Language)
<xsl:if>
<xsl:choose>
20. _________ pulls value of that element out for processing or display - and -has mandatory select attribute which uses XPath notation
filter
XML Declaration
<xsl:value-of>
XML Elements & Attributes
21. _________ can match entire document tree or part
<xsl:apply-templates>
XQuery
XML (eXtensible Markup Language)
<xsl:template>
22. _________ is used to produce other output formats like XML - HTML - text - Word - PDF - etc. and contains method attribute that specifies which format is being produced
<xsl:output>
STOICCS & VoFeAt
<xsl:value-of>
filter
23. Used for creating hyperlinks to XML documents and arbitrary points within XML documents.
XML Entities
<xsl:copy>
XPointer & XLink
XQuery
24. 10 XSLT elements are: ____________: Stylesheet - Template - Output - If - Copy - Choose - Sort & Value-Of - For-Each - Apply-Templates
STOICCS & VoFeAt
<xsl:apply-templates>
XML Elements & Attributes
<xsl:template>
25. Must be properly nested inside each other.
XML Tag Nesting
STOICCS & VoFeAt
<xsl:value-of>
<xsl:copy>
26. _________ is like "if" but allows selection from list of alternate options - similar to "case" - mandatory "test" attribute just like IF
XML Elements & Attributes
<xsl:choose>
XML (eXtensible Markup Language)
filter
27. Used to perform query functions on XML data - similar to SQL for databases.
<xsl:choose>
<xsl:template>
XQuery
XML Parser - Whitespace
28. _________ gives root node of document portion to apply template to
<xsl:sort>
<xsl:template>
<xsl:for-each>
<xsl:apply-templates>
29. _________ creates copy of a particular element - then copy can be expressed in different part of tree node of resulting element - used when creating an xml file from another xml file - but needs to change the structure
XML Parser - Whitespace
<xsl:value-of>
<xsl:copy>
<xsl:if>
30. Used to structure and describe information. Information used to describe information. It does not replace HTML. It is a base way of creating tag sets. Content is kept separate from any notation of presentation. Information can be easily read and unde
XML Namespaces
XML Elements & Attributes
XML (eXtensible Markup Language)
XML Attributes