Академический Документы
Профессиональный Документы
Культура Документы
Question No. 1
What are HTML Logical tags?
Ans:
Html logical tags are those tags which defines the relative appearance
of text. They allow the browser to define precisely on how to display
the information on our webpage. To shade more light to the above,
the
logical
tags
basically
are
those
tags
used
in
rendering
writing
about technical subjects like computer programming.
<strong> : The tag simply displays a bold text for the given
string after the tag. The property is similar to <b> tag as bold.
Question No. 2
Describe the following in context of validating XML
documents
with DTDs
1. Concept of data validation
2. Writing document type definition (DTD) files
3. Internal and external DTDs
4. Validating parsers
5. The NMTOKEN and NMTOKENS Type
Ans:
Concept of data validation :
Without
such
structural
restrictions,
developing
such
XML_document_root_name
SYSTEM
DTD_file_name>
<!--The XML Document -->
Validating parsers :
The XML-parsers are used to read and modify XML and are build
into almost all the contemporary browsers. The parser reads XML
and converts into an XML DOM object which can be read through
javascript. However the Microsoft
XML
character is allowed. But in the case of the XML name, only letters,
ideographs, and Underscore are allowed as first character. Thus the
34 and .abcde are valid XML name token but are not allowed as
valid XML names. Every valid name is a valid XML name token, but
not all valid XML name token are valid XML names.
Looking through the simple scenario bellow:
<!ATTLIST journal year NMTOKEN #REQUIRED>
The above tag statement still doesn't prevent the document author
from assigning the year attribute values like "99" or "March", but it
at least eliminates some possible wrong values, especially those
that contain whitespace such as "1990 C.E." or "Jimmy had a little
lamb."
A NMTOKENS type attribute contains one or more XML name tokens
separated by whitespace. For example, you might use this to
describe the dates attribute of a performances element, if the dates
were given in the form 08-26-2000,
like this:
<performances dates="09-23-2002 08-23-2001 08-27-2001">
Kat and the Kings
</performances>
The appropriate declaration is:
<!ATTLIST performances dates NMTOKENS
#REQUIRED>
On the other hand, you could not use this for a list of dates in the
form 08/27/2001 because the forward slash is not a legal name
character.
Question No. 3
Define XSL-FO. Explain the following:
1. Purpose of XSL Formatting Objects (XSL-FO)
2. XSL-FO Documents and XSL-FO Processors
Ans
XSL-FO :
XSL-FO is defined as
The formatting