EasyXML.

ÆÄÀ̽㿡¼­ °£°áÇÑ XML »ý¼º
Áö±Ý ´Ù¿î·Îµå

EasyXML. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • MIT/X Consortium Lic...
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Evan Wallace
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • https://github.com/evanw/

EasyXML. ű×


EasyXML. ¼³¸í

EasyXMLÀº ÆÄÀ̽㿡¼­ XML Ãâ·ÂÀ» »ý¼ºÇÏ´Â ½±°í °£°áÇÑ ¹æ¹ýÀ» Á¦°øÇÏ´Â Python ¸ðµâÀÔ´Ï´Ù. »ç¿ëÀÚ Á¤ÀÇ Æ¯¼º getter¸¦ »ç¿ëÇϹǷΠ¿ä¼Ò À̸§Àº Äڵ忡¼­ Á÷Á¢ ÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. books = easyXML ( 'Ã¥') books.book (title = '¿¹ :') books.book.author (name = smith ', name = smith') = 57) booksbook.publisher (name = 'publisher a') books.book (title = '¿¹ b') booksoob.author (name = 'Jane doe', night = 30) booksbook.author ( name = 'James Cutter', Age = 45) books.book.publisher (name = 'publisher b') print str (Ã¥) À§ÀÇ ÄÚµå´Â ´ÙÀ½ XMLÀ» »ý¼ºÇÕ´Ï´Ù. <Ã¥> <Ã¥ Á¦¸ñ = "¿¹ a"> ÀúÀÚ ¿¬·É = "57"À̸§ = "John Smith"/> <ÀÛ¼ºÀÚ ¿¬·É = "45"name = "james cutter"/> ½ÇÁ¦·Î ¸ðµç »óÀ§ ¿ä¼Ò¸¦ ¸¸µé¾î ´ÙÀ½ Äڵ带 Çã¿ëÇÏÁö ¾Ê½À´Ï´Ù. ÀÛ¾÷ÇÏ·Á¸é : root = easyXML ( 'root') root.abc () root.abc () root.a () root.abc () root.abc () print str (·çÆ®) À§ÀÇ ÄÚµå´Â ´ÙÀ½ XMLÀ» »ý¼ºÇÕ´Ï´Ù. root> ¿ä¼Ò¸¦ ¸¸µå´Â °ÍÀº ÇïÆÛ ¸ÞƼµå¿¡ Àü´Þ µÉ ¼öÀÖ´Â ¿ä¼Ò¸¦ »ý¼ºÇÕ´Ï´Ù. (¿ø½ÃÀû, ÁÖÀ§, È®»ê) : primitive.ambient (r = ÁÖÀ§ , g = ÁÖÀ§ , b = ÁÖÀ§ ) primitifuse (r = È®»ê , g = È®»ê b = diffuse root = EasyXML ( 'root') Àç·á (root.primitive (type = 'sphere'), (64, 0, 0), (192, 0, 0)) ÀçÁú (root.priative (0, 64, 0), (0, 64, 0), (0, 64, 0)) PRINT STR (·çÆ®) À§ÀÇ ÄÚµå´Â ´ÙÀ½ XMLÀ» »ý¼ºÇÕ´Ï´Ù. <ÁÖÀ§ b = "0"g = "0"= "64"/> <ÁÖÀ§ b = "0"g = "64"r = "0"/> https : // github.com/5monkeys/easyxml/tree/develodproductÀÇ È¨ÆäÀÌÁö


EasyXML. °ü·Ã ¼ÒÇÁÆ®¿þ¾î