| Tree :: Simple :: sax. Æ®¸® :: Simple :: SAX´Â Tree :: XMLÀ» »ç¿ëÇÏ¿© °£´ÜÇÑ Å¬·¡½º ÁýÇÕÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Tree :: Simple :: sax. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Stevan Little
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~stevan/
Tree :: Simple :: sax. ű×
Tree :: Simple :: sax. ¼³¸í
TREE :: SIMPLE :: SAX´Â XMLÀ» »ç¿ëÇÏ¿© Æ®¸® : °£´ÜÇÑ Å¬·¡½º ÁýÇÕÀÔ´Ï´Ù. TREE :: SIMPLE :: SAX´Â Æ®¸®¸¦ »ç¿ëÇϱâÀ§ÇÑ Å¬·¡½ºÀÇ ÁýÇÕÀÔ´Ï´Ù. xml.synopsis »ç¿ë Æ®¸® :: Simple :: sax; XML :: SAX :: ParserFactory¸¦ »ç¿ëÇϽʽÿÀ. ³» $ handler = tree :: simple :: sax :: handler-> new (tree :: simple-> new ()); MY $ P = XML :: SAX :: ParserFactory-> Æļ (Çڵ鷯 => $ handler); $ p-> parse_string ( 'hello!'); # ÀÌ°ÍÀº ´ÙÀ½°ú °°Àº Æ®¸®¸¦ ¸¸µì´Ï´Ù. # {tag_type => 'string'} # {content => 'hello', tag_type => 'cdata'} # {tag_type => ''¼¼°è '} # {content =>'! ', tag_type =>'cdata '} ÀÌ´Â XML :: SAX Çڵ鷯ÀÇ Ãʱ⠱¸ÇöÀ̸ç, XML ½ºÆ®¸²¿¡¼ Æ®¸® :: ´Ü¼ø °³Ã¼ °èÃþÀ» ¸¸µì´Ï´Ù. ÇöÀç °³³äÀÇ / ½ÇÇè ´Ü°èÀÇ Áõ¸íÀÌ ÀÖÀ¸¸ç ¹Ì·¡¿¡ ´õ ¸¹Àº ±â´ÉÀ» Ãß°¡ ÇÒ °èȹÀÔ´Ï´Ù. ´Ù¸¥ »ç¶÷ ÀÌÀÌ ¸ðµâÀÇ °³¹ß¿¡ °ü½ÉÀÌ ÀÖÀ¸½Ã¸é ¾ðÁ¦µçÁö Àú¿¡°Ô ¿¬¶ôÇϽʽÿÀ (ÀúÀÚ ¼½¼ÇÀÇ À̸ÞÀÏ »ç¿ë) ...¿¡ ³ª´Â Ç×»ó Åä·Ð, »ý°¢, ºñÆÇ ¹× ƯÈ÷ ÆÐÄ¡¿¡ ¿·Á ÀÖ½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
Tree :: Simple :: sax. °ü·Ã ¼ÒÇÁÆ®¿þ¾î