DOM, XML -- dot notation vs. ?? notation



What's the difference between these two patterns?



var x = document.createElement('HR');


and



$node = $dom->createElement("markers");


Is it just Javascript vs PHP?


If the first is called dot notation, what's the second called?


No comments:

Post a Comment