112. Consider and xml document
[1.5]
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href=xsampdoc.css ?>
<xsampdoc>
<greeting>All The Best!</greeting>
</xsampdoc>
The code for the style sheet xsampdoc is given as:
greeting
{
display:block;
font-family:Arial,Helvetica, sans-serif;font-size:32pt;
width:30em;
color:red;
}
What will be the output of the above code?
a) All The Best! will be displayed
c) The xml document will be
in red with the specified size
displayed in the tree
as the output.
format
b) An error will be generated due
to the absence of quotes in the
2
nd line of the xml document
Bạn đang xem 112. - QUESTION BANK CORE XML