Computer Science, asked by anshulmanhas20pdrlqr, 1 year ago

To declare a namespace as the default namespace for an XML document, we would add the following attribute in the root tag of an XML document.
(a) namespace = "URL"
(b) xmlNameSpace:"URL"
(c) xml namespace:"URL"
(d) xmlns:="URL".

Answers

Answered by alish48
1
D is the correct answer
Answered by phillipinestest
0

(d) xmlns:="URL"

To declare a namespace as the default namespace for an XML document, we would add the following attribute in the root tag of an XML document. A namespace can be added or defined by using the xmlns attribute at the beginning.

It is the start tag of the element. The syntax for the namespace declaration can be as follows xmlns;prefix="URL"

Similar questions