From IBM140 sample Test 9. Which of the following is LEAST useful in identifying structural relationships in documents? a) Font size and style b) Indentation c) Content d) Numbering answer given: a) explanations given: All the answers are not useful, but this one is least useful It is not clear if �document� here means �XML document� or �somehow formatted text�? If the first, then the entire question doesn�t make a lot of sense. If the second... I felt that font size and especially style ARE useful in identifying structural relationships, and recently a proof was found. Charles F.Goldfarb, The XML Handbook, p. 441. Style and structure �The tags in an abstract XML document and the styling in a rendered print document do the same thing � they just do it differently. XML communicattes structure literally, using element types and nesting. Print publications communicate structure visually, using formatting and arrangement�. The whole chapter describes avenue.quark tool, that converts documents created by the QuarkXPress publishing system into XML. It does it by associating an element type with some stylistic properties. Such as font size and style. Note: The XML Hanbook is one of three recommended books for IBM test140 exam. My answer would be that content is least useful for identifying structure, unless somebody already wrote damn sophisticated software that can UNDERSTAND content. Any ideas?
My sympathy to you! I also had a problem with this question, but I then took it to mean a general source document and not necessarily an XML document. In other words, one usually indents paragraphs to form a logical cohesion between the paragraphs within the paragraph. One uses a numbered list to relate elements within the list. And finally logical cohesion is only useful if the actual content is somehow related. Contrast this with boldtype thrown in mainly to emphasize a point (and italics thrown in to set a point a side), and I can see where the question writers came up with their answer. Having taken (and passed quite nicely) test 140, I can tell that I did not see a question in this form on the test. However, what I did see related to this test question were questions which gave some content or relationships between elements, and I had to then come up with the best XML/DTD to describe the source material. Hope this helps, OP
Leverager of our synergies
posted 18 years ago
Sanjay, Recommended books are listed here (and I noticed that there are four, not three of them): Structuring XML Documents, Prentice Hall Computer Books; ISBN#: 0136422993 The XML Handbook, Prentice Hall; ISBN#: 0130811521 XML: The Annotated Specification, Prentice Hall; ISBN#: 0130826766 Applied XML: A Toolkit for Programmers, John Wiley & Sons; ISBN#: 0471344028 I found The XML Handbook not very useful, Structuring XML Documents looks better for me, although I should admit I did not read it. There is a free chapter from it on http://journal.iftech.com/books/9906_megginson_xml/ Octavyn, thanks for your response! It feels good to know that we can expect meaningful questions (and answers ) on real exam. If you could give some examples of DTD design questions (not too close to �real exam�, but not too far either ) � then your name would be glorified by generations of XML aspirants...
Man, that question is weak! Do you guys think "Inside XML" will suffice? The other books aren't rated that well on Amazon, but this one was. It's a heavy thousand pages though, so save me if I'm making a mistake please. ------------------ David Roberts - SCJP2,MCP
David Roberts - SCJP2,MCP
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad: