News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Using Namespaces

Started by ben2ong2, October 06, 2006, 02:30:57 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

ben2ong2

This XML document carries information in a table:
<h:table xmlns:h="You are not allowed to view links. Register or Login">   <h:tr>   <h:td>Apples</h:td>   <h:td>Bananas</h:td>   </h:tr></h:table>
This XML document carries information about a piece of furniture:
<f:table xmlns:f="You are not allowed to view links. Register or Login">   <f:name>African Coffee Table</f:name>   <f:width>80</f:width>   <f:length>120</f:length></f:table>
Instead of using only prefixes, we have added an xmlns attribute to the <table> tag to give the prefix a qualified name associated with a namespace.

You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login