Áß°íÂ÷ ÆǸŠ¸ñ·Ï(¸¸¿ø) | Áß°íÂ÷ ´ë¿© ¸ñ·Ï (¸¸¿ø/ÀÏ) |
<list>
<item> <car-id>Sephia-1285</car-id> <owner>È«±æµ¿</owner> <price>300</price> </item> <item> <car-id>Musso-1218</car-id> <owner>ÀÓ¼ø¹ü</owner> <price>650</price> </item> </list> |
<list>
<item> <car-id>Sephia-1285</car-id> <owner>È«±æµ¿</owner> <price>6</price> </item> <item> <car-id>Musso-1218</car-id> <owner>ÀÓ¼ø¹ü</owner> <price>12</price> </item> </list> |
ÅëÇÕ: Áß°íÂ÷ ÆǸŠ¹× ´ë¿© ¸ñ·Ï
- µÎ ¹®¼ÀÇ °áÇսà µÎ°¡Áö <price> Àǹ̰¡ Á¸Àç |
¹æ¹ý1 : °¢°¢ ´Ù¸¥ À̸§ »ç¿ë
- ³ªÁß¿¡ ´Ù½Ã ºÐ¸®µÉ °æ¿ì¿¡´Â ? |
<list>
<item> <car-id>Sephia-1285</car-id> <owner>È«±æµ¿</owner> <price>300</price> <price>6</price> </item> <item> <car-id>Musso-1218</car-id> <owner>ÀÓ¼ø¹ü</owner> <price>650</price> <price>12</price> </item> </list> |
<list>
<item> <car-id>Sephia-1285</car-id> <owner>È«±æµ¿</owner> <sale-price>300</sale-price> <rent-price>6</rent-price> </item> <item> <car-id>Musso-1218</car-id> <owner>ÀÓ¼ø¹ü</owner> <sale-price>650</sale-price> <rent-price>12</rent-price> </item> </list> |
¹æ¹ý2
: Á¢µÎ»ç(prefix) »ç¿ë
- Á¢µÎ»ç°¡ °íÀ¯(unique)ÇÏÁö ¾ÊÀº °æ¿ì ? - Á¢µÎ»ç °ü¸® ÇÊ¿ä (µµ¸ÞÀÎ °ü¸®Ã³·³) |
ÇØ°á
¹æ¹ý : Namespace ÀÌ¿ë
- Á¢µÎ»ç À̸§¿¡ URI¸¦ ÁöÁ¤ (URI ´Â unique) - xmlns ¼Ó¼ºÀ¸·Î Ç¥½Ã |
<list>
<item> <car-id>Sephia-1285</car-id> <owner>È«±æµ¿</owner> <sale:price>300</sale:price> <rent:price>6</rent:price> </item> <item> <car-id>Musso-1218</car-id> <owner>ÀÓ¼ø¹ü</owner> <sale:price>650</sale:price> <rent:price>12</rent:price> </item> </list> |
<list xmlns:sale ="http://www.w3.org/Sale"
xmlns:rent ="http://www.w3.org/Rent" xmlns ="http://www.w3.org/Car/" > <item> <car-id>Sephia-1285</car-id> <owner>È«±æµ¿</owner> <sale:price>300</sale:price> <rent:price>6</rent:price> </item> <item> <car-id>Musso-1218</car-id> <owner>ÀÓ¼ø¹ü</owner> <sale:price>650</sale:price> <rent:price>12</rent:price> </item> </list> |
¿ä¼ÒÀ̸§ Áߺ¹ : <title> | Namespace ÀÌ¿ë(1) - pers:zzz xhtml:xxx |
<?xml version="1.0"
encoding="EUC-KR"?> <person> <name> <title>ÀÌ»ç</title> <pname>È«±æµ¿</pname> </name> <position>¿¬±¸¼ÒÀå</position> <resume> <html> <head><title>È«±æµ¿ ÀÌ·Â</title></head> <body> <h1>È«±æµ¿</h1> <p>¸Å¿ì À¯¸íÇÑ »ç¶÷</p> </body> </html> </resume> </person> |
<pers:person xmlns:pers="http://sernaferna.com" xmlns:xhtml="http://www.w3.org/1999"> <pers:name> <pers:title>ÀÌ»ç</pers:title> <pers:pname>È«±æµ¿</pers:pname> </pers:name> <pers:position>¿¬±¸¼ÒÀå</pers:position> <pers:resume> <xhtml:html> <xhtml:head><xhtml:title>È«±æµ¿ ÀÌ·Â </xhtml:title></xhtml:head> <xhtml:body> <xhtml:h1>È«±æµ¿</xhtml:h1> <xhtml:p>¸Å¿ì À¯¸íÇÑ »ç¶÷</xhtml:p> </xhtml:body> </xhtml:html> </pers:resume> </pers:person> |
Namespace ÀÌ¿ë(2) - zzz xhtml:xxx | Namespace ÀÌ¿ë(3) - zzz xxx Àû¿ë¹üÀ§ |
<person
xmlns="http://sernaferna.com"
xmlns:xhtml="http://www.w3.org/1999"> <name> <title>ÀÌ»ç</title> <pname>È«±æµ¿</pname> </name> <position>¿¬±¸¼ÒÀå</position> <resume> <xhtml:html> <xhtml:head><xhtml:title>È«±æµ¿ ÀÌ·Â </xhtml:title></xhtml:head> <xhtml:body> <xhtml:h1>È«±æµ¿</xhtml:h1> <xhtml:p>¸Å¿ì À¯¸íÇÑ »ç¶÷</xhtml:p> </xhtml:body> </xhtml:html> </resume> </person> |
<person
xmlns="http://sernaferna.com">
<name> <title>ÀÌ»ç</title> <pname>È«±æµ¿</pname> </name> <position>¿¬±¸¼ÒÀå</position> <resume> <html xmlns="http://www.w3.org/1999"> <head><title>È«±æµ¿ ÀÌ·Â </title></head> <body> <h1>È«±æµ¿</h1> <p xmlns="">¸Å¿ì À¯¸íÇÑ »ç¶÷</:p> </body> </html> </resume> </person> |
Namespace ¿Í ¼Ó¼º | |
<person
xmlns="http://sernaferna.com">
<name id="106"> <title>ÀÌ»ç</title> <pname>È«±æµ¿</pname> </name> <position>¿¬±¸¼ÒÀå</position> <resume> <xhtml:html xmlns:xhtml="http://www.w3.org/1999"> <xhtml:head><xhtml:title>È«±æµ¿ ÀÌ·Â </xhtml:title></xhtml:head> <xhtml:body> <xhtml:h1>È«±æµ¿</xhtml:h1> <xhtml:p xhtml:style="font-family: Arial"> ¸Å¿ì À¯¸íÇÑ »ç¶÷</xhtml:p> </xhtml:body> </xhtml:html> </resume> </person> |
- ÆÇ´Ü ¸ðÈ£
<a:person xmlns:a="http://sernaferna.com">
|
¿¹) http://mm.sookmyung.ac.kr/~sblim
mailto:sblim@sookmyung.ac.kr
¿¹) urn:ISBN:0-7897-2242-9
urn:Person-ID:800325-2012812