000-142 Exam

Test142.XML 1.1 and Related Technologies

  • Exam Number/Code : 000-142
  • Exam Name : Test142.XML 1.1 and Related Technologies
  • Questions and Answers : 98 Q&As
  • Update Time: 2011-10-24
  • Testing Engine (SoftWare Version): $ 59.00
  • PDF (Printable Version) Price: $15.00
  •  

Note: After purchase, we will send questions within 24 hours.

Free 000-142 Demo Download

Examsoon offers free demo for IBM certifications II 000-142 exam (Test142.XML 1.1 and Related Technologies). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products.

Download 000-142 PDF Demo

Download 000-142 ExamTesting Engine

 

Exam 000-142 Preparation from Examsoon include:

After you purchase our product, we will offer free update in time for 90 days.
100% Pass Guaranteed at First Attempt Or Free Update
Immediate Download After Purchase
Comprehensive questions with complete details
Questions accompanied by exhibits
Verified Answers Researched by Industry Experts
Drag and Drop questions as experienced in the Examsoon
Questions updated on regular basis
our product is in multiple-choice questions (MCQs)


Passing the IBM 000-142 Exam:Passing the 000-142 exam has never been faster or easier, now with the questions and answers, without the messy 000-142 exam that are frequently incorrect. Examsoon Unlimited Access Exams are not only the cheaper way to pass without resorting to 000-142 tests, but at only $ 59.00 you get access to the exam from every certification vendor.


Our 000-142 practice exams and study questions are composed by current and active Information Technology experts, who use their experience in preparing you for your future in IT.


IBM 000-142 Search Help Feel free to use search terms below while searching the Net for 000-142 exam:

000-142 brain dump simulations
000-142 Test question
000-142 braindump work
000-142 master exams
000-142 braindump model
000-142 latest test


Commitment to Your Success:

At Examsoon we are committed to you ongoing success. Our exams are constantly being updated and compared to industry standards.


You are not about to purchase a disposable product. 000-142 exam updates are supplied free of charge. Regardless of how soon you decide to take the 000-142 examination certification, you will be able to walk into the testing room as confident as the Certification Administrator.


Skip all the worthless 000-142 tutorials and download 000-142 exam materials with questions and answers and a price too unbelievable to pass up. Act now and download it today!

http://www.Examsoon.com The safer.easier way to get IBM certifications II Certification.
 
 
Exam : IBM 000-142
Title : Test142.XML 1.1 and Related Technologies


1. A developer wishes to make an XSLT template more robust by checking a parameter passed to it for errors and boundary conditions. The template accepts a parameter of type number. What condition will NOT have to be checked?
A. number greater than allowed range
B. value of 0
C. type of the parameter value
D. Integer numbers
Answer: C

2. Consider the following XML document:
<?xml version="1.0" encoding="UTF-8"?>
<Books>
<Book ID="001">
<Title>Finding New World</Title>
<Author>Jone Smith</Author>
</Book>
<Book ID="080">
<Title>How to Programming</Title>
<Author>Tom Alston</Author>
</Book>
</Books>
An XML developer wants to generate a HTML document that lists the ID, title and author of a book in a HTML table. Which of the following stylesheets can achieve the desired result?
A. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Books">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="/">
<tr>
<td><xsl:value-of select="@ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
B. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Books/Book">
<tr>
<td><xsl:value-of select="@ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
C. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Books/Book">
<tr>
<td><xsl:value-of select="ID"/></td>
<td><xsl:value-of select="." /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
D. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Books">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Book">
<tr>
<td><xsl:value-of select="ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Answer: B

3. Calculating sub-totals from an XML document using XSL transformation requires special considerations. Which of the following options is the best solution to solve this problem?
A. Create a fragment variable containing the values to total, and then use the node-set() XSLT extension and the XPath "sum()" function to calculate the value.
B. Create a special XSLT variable that contains the results of an XPath query that performs a "sum()" of the values to be totaled.
C. Use XSLT recursion to define a variable value that calculates the "value-of" the elements to be sub-totaled.
D. Use XSLTC to precompile a custom Java translet that will extract the values to be totaled and returns the sum of those values. This return value is then used in an XSL variable for output.
Answer: A

4. Analyze the following XML and DTD fragments that implement ID, IDREF and IDREFS used to link manager and subordinate relationships. Where is the error in the implementation of this logic?
employees.dtd:
<!ATTLIST employee empid ID #REQUIRED>
<!ATTLIST employee mgrid ID #IMPLIED>
<!ATTLIST employee mgr IDREF #IMPLIED>
<!ATTLIST employee subs IDREFS #IMPLIED>
employees.xml:
<employees>
<employee empid="e1" mgrid="m1" subs="e2"><name>Bob Smith</name></employee>
<employee empid="e2" mgrid="m2" mgr="m1" subs="e3 e4"><name>Carol Jones</name></employee>
<employee empid="e3" mgr="m2"><name>Keith Martin</name></employee>
<employee empid="e4" mgr="m2"><name>Monica Williams</name></employee>
</employees>
A. The subs IDREFS is formatted improperly for the second employee record.
B. The mgrid must be defined as "#REQUIRED" in the DTD.
C. The empid and mgrid attributes conflict as an element may only have a single ID attribute.
D. First two records are invalid as each employee record may have either empid or mgrid attribute, but not both.
Answer: C

5. XML data is stored and retrieved within a relational database for a data-centric application by means of mapping XML schema elements to database tables. There are concerns that the queries and updates to this database are slow due to the number of joins required in the SQL. What is the best option for improving the storage and retrieval of this XML data?
A. Transform XML documents into canonical form before persisting.
B. Modify the current XML schema by converting elements to attributes where possible and re-map to tables in order to reduce the number of tables and therefore the number of joins required.
C. Store the XML data as CLOBs without decomposing them into relational tables and provide an 'id' based lookup.
D. Modify the current XML schema by merging all of the XML documents into a main XML document and query using XPath.
Answer: BD