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. Styling language that takes an XML file and "transforms" it into something else - like HTML - PDF - ASCII or even another XML file.
XPointer & XLink
<xsl:choose>
XSLT (eXtensible Stylesheet Language Transformations)
<xsl:output>
2. _________ tests to see if a T/F condition is met - if True the specified elements are added to result tree
<xsl:if>
XML Namespaces
<xsl:choose>
active
3. 10 XSLT elements are: ____________: Stylesheet - Template - Output - If - Copy - Choose - Sort & Value-Of - For-Each - Apply-Templates
STOICCS & VoFeAt
<xsl:value-of>
<xsl:output>
filter
4. 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
<xsl:value-of>
XML Declaration
active
STOICCS & VoFeAt
5. _________ pulls value of that element out for processing or display - and -has mandatory select attribute which uses XPath notation
XML (eXtensible Markup Language)
XSLT (eXtensible Stylesheet Language Transformations)
XML Namespaces
<xsl:value-of>
6. _________ can match entire document tree or part
<xsl:apply-templates>
XML Entities
active
XML (eXtensible Markup Language)
7. Are a way to tell the XML parser to do something that is feature specific to that parser.
<xsl:value-of>
XML Processing Instructions
<xsl:apply-templates>
<xsl:for-each>
8. XSLT is the ____ part of XSL
XML Declaration
XML Processing Instructions
XQuery
active
9. Provide a way to help shorten and modularize your XML documents.
active
<xsl:apply-templates>
XML Entities
STOICCS & VoFeAt
10. Used to contain character data you want part of the document content but don't want the parser to try and parse.
XML Elements & Attributes
<xsl:template>
XML Character Data Sections (CDATA)
<xsl:template>
11. _________ is an instructional element that pulls in other templates according to criteria and executes them within the main stylesheet
<xsl:choose>
XPath (eXtensible Path Language)
XML Processing Instructions
<xsl:apply-templates>
12. Used to perform query functions on XML data - similar to SQL for databases.
<xsl:template>
XQuery
STOICCS & VoFeAt
<xsl:apply-templates>
13. _________ 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:for-each>
XML Parser - Whitespace
<xsl:output>
XML Tag Nesting
14. 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 (eXtensible Markup Language)
XML Entities
XML Declaration
XPointer & XLink
15. _________ can be entire document or part
XML Tag Nesting
XML (eXtensible Markup Language)
XML Namespaces
<xsl:template>
16. _________ is like "if" but allows selection from list of alternate options - similar to "case" - mandatory "test" attribute just like IF
XML (eXtensible Markup Language)
<xsl:choose>
<xsl:for-each>
XML Parser - Whitespace
17. In XML you have to indicate when a element tag is empty.
XML Tag Nesting
<xsl:for-each>
Empty Tags <elem></elem>
XML Namespaces
18. It ignores white space unless it is inside an element.
XML Entities
XML Parser - Whitespace
XPointer & XLink
<xsl:value-of>
19. _________ 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:template>
<xsl:output>
<xsl:value-of>
<xsl:template>
20. _________ 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
active
<xsl:choose>
<xsl:copy>
XML Parser - Whitespace
21. Provide a way to prevent tags with same names but different meanings from colliding with each other.
<xsl:copy>
XML Entities
XML Namespaces
<xsl:value-of>
22. XSLT uses XPath to _______ and navigate thru XML documents
filter
<xsl:apply-templates>
Empty Tags <elem></elem>
XML Namespaces
23. Sometimes called tags. Just like your used to in HTML.
XML Entities
filter
XML Elements & Attributes
XML Tag Nesting
24. _________ 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:sort>
XML Parser - Whitespace
<xsl:choose>
<xsl:template>
25. XSLT is a _________ language
XML (eXtensible Markup Language)
functional
XML Declaration
XPointer & XLink
26. Used to extract data from inside an XML file. Uses path like syntax
XML Elements & Attributes
XPath (eXtensible Path Language)
XML Declaration
<xsl:apply-templates>
27. They cannot be minimized. Must explicitly assign a value to a attribute and must be inside double quotes.
<xsl:template>
<xsl:sort>
<xsl:apply-templates>
XML Attributes
28. _________ gives root node of document portion to apply template to
<xsl:template>
XML Parser - Whitespace
<xsl:value-of>
Empty Tags <elem></elem>
29. Used for creating hyperlinks to XML documents and arbitrary points within XML documents.
active
<xsl:apply-templates>
XPointer & XLink
XSLT (eXtensible Stylesheet Language Transformations)
30. Must be properly nested inside each other.
<xsl:if>
<xsl:copy>
active
XML Tag Nesting