NCD HTML Design Guide v6.0
<HTML XMLNS:TEST> <HEAD> <STYLE> TEST\:RED {color:red} </STYLE> </HEAD> <BODY> <H1>Custom Tag Test</H1> <TEST:RED>This text will be a red color.</TEST:RED> </BODY> </HTML>View This Sample
ex.<XML ID="SAMP"> <member> <name>Netwrok Communication Design</name> <email>msg@ncdesign.org</email> </member> </XML> <INPUT TYPE=button VALUE="Member Name" onClick="alert(SAMP.XMLDocument.documentElement.childNodes.item(0).text)"> <INPUT TYPE=button VALUE="E-Mail Address" onClick="alert(SAMP.XMLDocument.documentElement.childNodes.item(1).text)">
ex.<SCRIPT LANGUAGE="xml" ID="SAMP1"> <member> <name>NCDESIGN</name> <email>Not Available</email> </member> </SCRIPT> <INPUT TYPE=button VALUE="Member Name" onClick="alert(SAMP1.XMLDocument.documentElement.childNodes.item(0).text)"> <INPUT TYPE=button VALUE="E-Mail Address" onClick="alert(SAMP1.XMLDocument.documentElement.childNodes.item(1).text)">
ex.<XML ID="SAMP2" SRC="samp/sample.xml"></XML> <INPUT TYPE=button VALUE="Member Name" onClick="alert(SAMP2.XMLDocument.documentElement.childNodes.item(0).text)"> <INPUT TYPE=button VALUE="E-Mail Address" onClick="alert(SAMP2.XMLDocument.documentElement.childNodes.item(1).text)">