HTML ¹®¼­ ¼Ó¿¡¼­ XML(XML data island)À» Á¤ÀÇÇÑ´Ù.

Script [propVal=]..propName;
HTML propName="propVal">innerString
Ư±â

XML °³Ã¼ÀÇ readyState ¼Ó¼º°ªÀº XML DOMDocument °³Ã¼ÀÇ readyState ¼Ó¼º¿¡ ÇØ´çÇÏ´Â ±ä ¹®ÀÚ¿­µµ °¡´ÉÇÏ´Ù.

µðÆúÆ® ¼Ó¼ºÀº XMLDocumentÀÌ´Ù.

ÀÌ °³Ã¼´Â IE5 À̻󿡼­ ¿¤·¹¸àÆ®¿Í ½ºÅ©¸³Æ®¸¦ »ç¿ëÇÒ ¼ö ÀÖ´Ù.

ÀÌ ¿¤·¹¸àÆ®´Â Ç¥ÇöµÇÁö ¾Ê´Â´Ù.

ÀÌ ¿¤·¹¸àÆ®´Â Á¾·áűװ¡ ÇÊ¿äÇÏ´Ù.

ÂüÁ¶
XML 1.0 ±Ô°Ý

Microsoft°¡ (¿µ¹®)HTML3.2¿¡ È®Àå.


¼³¸íÀ» À§ÇÑ ¿¹Á¦

Æ®¸®¿ÀArchnophilliaJavascript XML ¿¤·¹¸àÆ®¸¦ ¼³¸íÇÑ´Ù.

Ä÷º¼Ç¼³¸í°ú ¿¹Á¦ ÄÚµå°á°úÂü°í
behaviorUrns ¿¤·¹¸àÆ®¿¡ ÷ºÎµÈ ºñÇØÀ̹ö(behavior)µéÀ» ÀνÄÇÏ´Â ÁÖ¼Ò(URN) ¹®ÀÚ¿­µéÀÇ ¹è¿­º¯¼ö¸¦ ÂüÁ¶ÇÏ°í ¹ÝȯÇÑ´Ù.
<SCRIPT>document.write(oObj.behaviorUrns.length)</SCRIPT>

canHaveHTML ¼Ó¼º IE
¢¡ °³Ã¼°¡ HTML ű׵éÀ» °¡Áú ¼ö Àִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [bVal=].canHaveHTML
ÄÚµå: document.write(oObj.canHaveHTML); °á°ú:
defer ¼Ó¼º IE (defer="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ ½ºÅ©¸³Æ®ÀÇ »óŸ¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: [bVal=].defer
ÄÚµå: document.write(oObj.defer); °á°ú:
event ¼Ó¼º IE (event="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ À̺¥Æ®¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: [bVal=].event
ÄÚµå: document.write(oObj.event); °á°ú:
id ¼Ó¼º IE (id=sVal> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼¸¦ ´ëÇ¥ÇÏ´Â ÀνÄÀÚ ¹®ÀÚ¿­À» ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .id[=sVal]
ÄÚµå: document.write(oObj.id); °á°ú:
isContentEditable ¼Ó¼º IE
¢¡ »ç¿ëÀÚ°¡ °³Ã¼ÀÇ ³»¿ëÀ» ÆíÁýÇÒ ¼ö Àִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [bVal=].isContentEditable
ÄÚµå: document.write(oObj.isContentEditable); °á°ú:
isDisabled ¼Ó¼º IE
¢¡ °³Ã¼°¡ ºÒÈ°¼ºÈ­ µÇ¾ú´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [bVal=].isDisabled
ÄÚµå: document.write(oObj.isDisabled); °á°ú:
isMultiLine ¼Ó¼º IE
¢¡ °³Ã¼°¡ ¿©·¯ÁÙ·Î µÇ¾îÀִ°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¹®¹ý: [bVal=].isMultiLine
ÄÚµå: document.write(oObj.isMultiLine); °á°ú:
language ¼Ó¼º IE (language="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼¿¡¼­ »ç¿ëÇÑ ½ºÅ©¸³Æ® ¾ð¾î¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .language[=sVal]
ÄÚµå: document.write(oObj.language); °á°ú:
parentElement ¼Ó¼º IE
¢¡ ü°è ±¸Á¶»ó ºÎ¸ð ¿¤·¹¸àÆ® °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].parentElement
ÄÚµå: document.write(oObj.parentElement); °á°ú:
ÄÚµå: document.write(oObj.parentElement.nodeName); °á°ú:
readyState ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ ÇöÀç »óŸ¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [sVal=].readyState
ÄÚµå: document.write(oObj.readyState); °á°ú:
ÄÚµå: <SPAN id=SwRS></SPAN>&nbsp;<BUTTON onclick="SwRS.innerText=oObj.readyState">Ŭ¸¯</BUTTON> °á°ú:  
recordset ¼Ó¼º IE
¢¡ °³Ã¼ µ¥ÀÌÅÍ ¼Ò½º·ÎºÎÅÍ µðÆúÆ® ¸®Äڵ弼ƮÀÇ ÂüÁ¶¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .recordset[=Val]
ÄÚµå: document.write(oObj.recordset); °á°ú:
scopeName ¼Ó¼º IE
¢¡ ¿¤·¹¸àÆ® °³Ã¼¸¦ À§ÇØ Á¤ÀÇµÈ namespace¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [sVal=].scopeName
ÄÚµå: document.write(oObj.scopeName); °á°ú:
src ¼Ó¼º IE (src=urlVal> ¾ÖÆ®¸®ºäÆ®)
¢¡ °³Ã¼ÀÇ ·ÎµùµÉ ÁÖ¼Ò(URL)¸¦ ¹ÝȯÇϰųª ÁöÁ¤ÇÑ´Ù.
¹®¹ý: .src[=sVal]
ÄÚµå: document.write(oObj.src); °á°ú:
tagUrn ¼Ó¼º IE
¢¡ °³Ã¼ÀÇ namespace ¼±¾ð¿¡¼­ ¼³Á¤µÈ ÁÖ¼Ò(URN: Uniform Resource Name)¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: .tagUrn[=sVal]
ÄÚµå: document.write(oObj.tagUrn); °á°ú:
text ¼Ó¼º IE (text="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ ÅؽºÆ®¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: [bVal=].text
ÄÚµå: document.write(oObj.text); °á°ú:
type ¼Ó¼º IE (type="sVal"> ¾ÖÆ®¸®ºäÆ®)
¢¡ Çü½ÄÀ»¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¹®¹ý: [bVal=].type
ÄÚµå: document.write(oObj.type); °á°ú:
XMLDocument ¼Ó¼º IE
¢¡ °³Ã¼¿¡ ÀÇÇÏ¿© »ç¿ëµÈ XML DOM(Document Object Model)ÀÇ ÂüÁ¶¸¦ ¹ÝȯÇÑ´Ù.
¹®¹ý: [oVal=].XMLDocument
ÄÚµå: document.write(oObj.XMLDocument.selectSingleNode('METADATA/ABSTRACT').text); °á°ú:
ÄÚµå: document.write(oObj.XMLDocument.selectSingleNode('METADATA/AUTHOR').text); °á°ú:

stylescript
{behavior:val} obj.style.behavior[=val]
¢¡ DHTML behaviorÀÇ ¼Ò°³ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{text-autospace:val} obj.style.textAutospace[=val]
¢¡ Á¶Á¤µÈ ¹®ÀÚ¸¦ À§ÇÑ ÀÚµ¿ ¹®ÀÚ °£°Ý ¸ÂÃ߱⸦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
{text-underline-position:val} obj.style.textUnderlinePosition[=val]
¢¡ °³Ã¼ÀÇ textDecoration ¼Ó¼ºÀÌ 'underline'·Î ¼³Á¤µÈ °æ¿ì ¹ØÁÙÀÇ À§Ä¡¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

¸Þ¼­µå¼³¸í
addBehavior ¿¤·¹¸àÆ®¿¡ behavior¸¦ Ãß°¡ÇÑ´Ù.
componentFromPoint ¾î¶² À̺¥Æ®¿¡¼­ ÁöÁ¤µÈ ÁÂÇ¥¿¡ À§Ä¡ÇÑ ÄÞÆ÷³ÙÆ®¸¦ ¹ÝȯÇÑ´Ù.
fireEvent °³Ã¼¿¡¼­ ÁöÁ¤ÇÑ À̺¥Æ®¸¦ ¹ß»ý½ÃŲ´Ù.
getAttributeNode IE6 attribute.name¼Ó¼ºÀ» ÂüÁ¶ÇÏ´Â attribute °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
namedRecordset À̸§ÀÖ´Â µ¥ÀÌÅÍ ¿øº» °³Ã¼ DSO(data source object)·ÎºÎÅÍ ÀÏÄ¡ÇÏ´Â ¸®Äڵ弼ũ °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
normalize IE6 °³Ã¼ÀÇ ÀÎÁ¢ TextNode °³Ã¼¸¦ ÅëÇÕÇÏ¿© ¹®¼­ °³Ã¼ ¸ðµ¨À» Á¤»óÈ­ÇÑ´Ù.
removeAttributeNode IE6 °³Ã¼·Î ºÎÅÍ ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ Á¦°ÅÇÑ´Ù.
removeBehavior °³Ã¼·ÎºÎÅÍ behavior¸¦ Á¦°ÅÇÑ´Ù.
setAttributeNode IE6 °³Ã¼ÀÇ ºÎºÐÀ¸·Î ¾ÖÆ®¸®ºäÆ® °³Ã¼ ³ëµå¸¦ ¼³Á¤ÇÑ´Ù.

À̺¥Æ®¼³¸í
ondataavailable µ¿±âÀûÀ¸·Î Àü´ÞÇÏ´Â µ¥ÀÌÅÍ ¿øõ °³Ã¼·Î ºÎÅÍ µ¥ÀÌÅÍ°¡ µµÂøÇϸé ÁÖ±âÀûÀ¸·Î ¹ß»ýµÈ´Ù.
ondatasetchanged µ¥ÀÌÅÍ ¿øõ °³Ã¼ÀÇ º¯°æ¿¡ ÀÇÇÑ °¨Áö°¡ ÀÖÀ» ¶§ ¹ß»ýµÈ´Ù.
ondatasetcomplete µ¥ÀÌÅÍ ¿øõ °³Ã¼·ÎºÎÅÍ ¸ðµç µ¥ÀÌÅ͸¦ ¹Þ¾Æ »ç¿ëÇÒ ¼ö ÀÖÀ» ¶§ ¹ß»ýÇÑ´Ù.
onreadystatechange °³Ã¼ÀÇ Áغñ»óÅÂ(readyState) ¼Ó¼ºÀ» º¯°æ½ÃÅ°¸é ¹ß»ýÇÑ´Ù.
onrowenter µ¥ÀÌÅÍ ¿øõ¿¡¼­ ÇöÀçÀÇ ÁÙÀÌ º¯°æµÇ¾ú°í °³Ã¼¿¡ »õ·Î¿î °ªÀÌ ÀÖÀ½À» ³ªÅ¸³»±â À§ÇÏ¿© ¹ß»ýµÈ´Ù.
onrowexit °³Ã¼¿¡¼­ ÇöÀç ÁÙÀ» º¯°æÇϱâÀÇ À§ÇÑ µ¥ÀÌÅÍ ¿øõ Á¦¾î ¹Ù·Î Àü¿¡ ¹ß»ýÇÑ´Ù.
onrowsdelete ¸®Äڵ弼Ʈ(recordset)¿¡¼­ ÁÙµéÀÌ »èÁ¦µÉ »óȲÀÌ µÇ¸é ¹ß»ýÇÑ´Ù.
onrowsinserted ÇöÀçÀÇ ¸®Äڵ弼Ʈ¿¡ »õ·Î¿î ÁÙµéÀÌ »ðÀÔµÈ Á÷ÈÄ¿¡ ¹ß»ýµÈ´Ù.

Behavior¼³¸í
clientCaps Explorer¿¡ ´ëÇÑ Á¤º¸¸¦ Á¦°øÇÏ°í ¿äû¿¡ ÀÇÇÏ¿© ºê¶ó¿ìÀúÀÇ ÄÞÆ÷³ÙÆ®¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ý´Ã Á¦°øÇÑ´Ù.
download ÆÄÀÏÀ» ´Ù¿î·ÎµåÇÏ°í ¿Ï·áµÇ¸é ¿Ï·á¸¦ ¾Ë·ÁÁÖ´Â ±â´ÉÀ» °®°íÀÖ´Ù.
homePage »ç¿ëÀÚÀÇ È¨ÆäÀÌÁö¿¡ ´ëÇÑ Á¤º¸¸¦ Æ÷ÇÔÇÏ°í ÀÖ´Ù.

°³Ã¼ ¿¹Á¦

XMLDOMDocument °³Ã¼ÀÇ readyState ¼Ó¼ºÀ» »ç¿ëÇÏ¿© XML data island°¡ ·ÎµùÀÌ ¿Ï·áµÇ¾ú´Â°¡, Àбâ Àü¿ëÀΰ¡¸¦ ÆÇÁ¤ÇÑ´Ù.

<SCRIPT>
if (oObj.readyState=='complete') document.write('XML ¹®¼­¸¦ ·ÎµùµÇ¾î ÁغñµÇ¾ú´Ù.<BR>');
if (oObj.XMLDocument.readyState==4) document.write('XML ¹®¼­´Â Àбâ Àü¿ëÀÌ´Ù.');
</SCRIPT>