| XML :: Schema :: À¯Çü :: ´Ü¼ø XML :: Schema :: Type :: SimpleÀº °£´ÜÇÑ XML ½ºÅ°¸¶ µ¥ÀÌÅÍ À¯ÇüÀ»À§ÇÑ ±âº» Ŭ·¡½ºÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
XML :: Schema :: À¯Çü :: ´Ü¼ø ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Andy Wardley
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~abw/
XML :: Schema :: À¯Çü :: ´Ü¼ø ű×
XML :: Schema :: À¯Çü :: ´Ü¼ø ¼³¸í
XML :: Schema :: Type :: SimpleÀº °£´ÜÇÑ XML ½ºÅ°¸¶ µ¥ÀÌÅÍ À¯ÇüÀ»À§ÇÑ ±âº» Ŭ·¡½ºÀÔ´Ï´Ù. XML :: Schema :: type :: SimpleÀº °£´ÜÇÑ XML ½ºÅ°¸¶ DataTypes.Synopsis ÆÐÅ°ÁöÀÇ ±âº» Ŭ·¡½ºÀÔ´Ï´Ù. XML :: Schema :: Type :: ¹¹µç°£¿¡; ±âº» QW (XML :: Schema :: Type :: Simple)¸¦ »ç¿ëÇϽʽÿÀ. VARS QW (@Facets)¸¦ »ç¿ëÇϽʽÿÀ. @facets = (minlength => 10, maxlength => 30, otherfacet => {value => $ n, °íÁ¤ => 1, ÁÖ¼® => "comment",},); ÆÐÅ°Áö ¸ÞÀÎ; ³» $ type = xml :: schema :: type :: ¹¹µçÁö -> new () || DIE XML :: SCHEMA :: À¯Çü :: ¹«¾ùÀ̵çÁö> ¿À·ù (); MY $ ITEM = $ TYPE-> ÀνºÅϽº ( 'ÀϺΠÀνºÅϽº °ª') || DIE $ TYPE-> ¿À·ù (); # ÁÖ : ÀνºÅϽºÀÇ Á¤È®ÇÑ # ÀÚ¿¬°ú ±¸Á¶ (ÇöÀç Çؽà ÂüÁ¶)¿¡¼µµ ¸î °¡Áö ¹®Á¦°¡ ÇØ°áµË´Ï´Ù. $ item -> {value}¸¦ ÀμâÇϽʽÿÀ. XML :: ½ºÅ°¸¶ :: À¯Çü :: ´Ü¼ø ¸ðµâÀº XML ½ºÅ°¸¶ °£´ÜÇÑ À¯ÇüÀ» ³ªÅ¸³»´Â °³Ã¼ÀÇ ±âº» Ŭ·¡½ºÀÔ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
XML :: Schema :: À¯Çü :: ´Ü¼ø °ü·Ã ¼ÒÇÁÆ®¿þ¾î