If you found this set of questions useful for getting XML certified please let me know.
Companies currently offering certifications in this field are IBM and Altova.
\/\/\/\/\/\/\/\/\/\/
Yes, it is possible but the whitespace is still the list's separator. That means that if you apply a facet to limit the number of string occurences in such a list you will limit in fact the number of words from the list and not the number of strings (a string can be composed of many words).
Is the list LimitedStringList equivalent with restrictedStringList ? Yes/No
\/\/\/\/\/\/\/\/\/\/
No.
limitedStringList - declares a list with an unlimited number of words, each word having a maximum length of 5;
restrictedStringList - declares a list with a maxim number of 5 words, each word having any length;
What nodes values will be printed by the expression:
a. all the values from the set of matched elements;
b. the values of the first element in the set of matched elements;
c. the value of the last element in the set of matched elements;
\/\/\/\/\/\/\/\/\/\/
Answer: b.
\/\/\/\/\/\/\/\/\/\/
Answer: no.
Does the <choose> tag allow fall through to the next <when> tag ? Yes/No
\/\/\/\/\/\/\/\/\/\/
Answer: no.
a. "=";
b. "==";
c. "assign";
d. "let";
e. none of the above;
\/\/\/\/\/\/\/\/\/\/
Answer: e.
There is no assignement operator in XSLT. Once a variable has been assigned it is not possible to change its value.
\/\/\/\/\/\/\/\/\/\/
Answer: no.
If the variable is defined inside a template then its scope is limited to that template.
a. DOM
b. SAX
\/\/\/\/\/\/\/\/\/\/
Answer: a.
\/\/\/\/\/\/\/\/\/\/
No.
The #IMPLIED string cannot be attached to elements (only to attributes). When an element is declared only its internal structure is declared, like:
The way this element (BlockA1) is used inside other elements will be declared by those elements:
\/\/\/\/\/\/\/\/\/\/
Answer: a,b
\/\/\/\/\/\/\/\/\/\/
Answer: no.
\/\/\/\/\/\/\/\/\/\/
No. A DocumentFragment can have only a child of type text. Such a DocumentFragment is not well-formed XML.
How many times the element "BlockFragmentZZZ" is to be found in the final document ?
a. 0 times;
b. 1 time;
c. 4 times;
\/\/\/\/\/\/\/\/\/\/
Answer: b.
The member function appendChild() first checks to see if child node to be inserted is already present in the tree. If yes, the old child is first removed before the new child is added to the document.
\/\/\/\/\/\/\/\/\/\/
How many times the elements "BlockFragmentAAA" and "BlockFragmentBBB" are to be found in the final document ?
a. 0 times;
b. 1 times;
c. 2 times;
\/\/\/\/\/\/\/\/\/\/
Answer: b.
Each element will be added once. When the function appendChild() will be called the second time the first node will first be removed then the specified node will be inserted.
\/\/\/\/\/\/\/\/\/\/
Answer: no.
Both Comment and Text nodes inherit from CharacterData but there is no standalone CharacterData node.
I wish you success in your certification effort.
If you wish to add something feel free to use the forums.