xml :: diff.

XML :: diff´Â XML DOM Æ®¸® ±â¹Ý Diff and Patch ¸ðµâÀÇ Perl ¸ðµâÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

xml :: diff. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Arne Claassen
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~sdether/XML-Diff-0.04/Diff.pm

xml :: diff. ű×


xml :: diff. ¼³¸í

XML :: diff´Â XML DOM Æ®¸® ±â¹Ý Diff ¹× ÆÐÄ¡ ¸ðµâÀÇ Perl ¸ðµâÀÔ´Ï´Ù. XML :: diff´Â XML DOM Æ®¸® ±â¹Ý Diff ¹× Patch Module ¿ë Perl ¸ðµâÀÔ´Ï´Ù. Synopsis My $ diff = XML :: diff-> new (); # 2 °³ÀÇ XML ÆÄÀÏÀÇ DiffGramÀ» »ý¼ºÇÏ·Á¸é ºñ±³¸¦ »ç¿ëÇϽʽÿÀ. # $ Old ¹× $ New´Â FilePaths, ¹®ÀÚ¿­·Î XMLÀÌ µÉ ¼ö ÀÖ½À´Ï´Ù. xml :: libxml :: document ¶Ç´Â xml :: libxml :: element °´Ã¼. # diffGramÀº ±âº»ÀûÀ¸·Î xml :: libxml :: ¹®¼­ÀÔ´Ï´Ù. $ diffgram = $ diff-> ºñ±³ (-old => $ old_xml, -new => $ new_xml); # XML ¹®¼­, ÆÐÄ¡ ÆÐÄ¡. $ Old ¹× $ diffgram # µ¿ÀÏÇÑ Çü½Ä ÁöÁ¤ ±ÔÄ¢À» ºñ±³ÇÕ´Ï´Ù. # °á°úÀûÀ¸·Î XMLÀº ±âº»ÀûÀ¸·Î XML :: libxml :: ¹®¼­ÀÔ´Ï´Ù. MY $ PATCHED = $ diff-> ÆÐÄ¡ (-old => $ old, -diffgram => $ diffgram,);ÀÌ ¸ðµâÀº µÎ °³ÀÇ °ü·Ã XML ÆÄÀÏÀÇ XML DiffGramÀ» »ý¼ºÇÏ°í Àû¿ëÇÏ´Â ¹æ¹ýÀ» Á¦°øÇÕ´Ï´Ù. ¾Ë°í¸®ÁòÀÇ ±âÃÊ´Â XML :: libxml¿¡¼­ Á¦°øÇÏ´Â DOM ¸ðµ¨À» »ç¿ëÇÏ¿© Æ®¸® - Çö¸íÇÑ ºñ±³ÀÔ´Ï´Ù. DiffGramÀº XVCS ³×ÀÌÇÁ ½ºÆäÀ̽º¿¡¼­ XMLÀÌ Àß ±¸¼ºµÇ¾î ÀÖÀ¸¸ç ¾÷µ¥ÀÌÆ®, »ðÀÔ, »èÁ¦ ¹× ÀÛ¾÷À» Áö¿øÇÕ´Ï´Ù. ±×°ÍÀº Àΰ£°ú ±â°è°¡ ÀÐÀ» ¼öÀÖ´Â °ÍÀÔ´Ï´Ù. XPath ½ÄÀ» »ç¿ëÇÏ¿© ÀÛµ¿Çϵµ·Ï ³ëµå¸¦ ã½À´Ï´Ù. ÀÌ ¸ðµâ¿¡¼­ »ç¿ëµÇ´Â µ¿±â ºÎ¿©¿Í ¾Ë·ÎÀúÀúÆ®´Â ¾Æ·¡ÀÇ µ¿±â ºÎ¿©¿¡¼­ ³íÀǵ˴ϴÙ. ¿ä±¸ »çÇ× : ¡¤ Perl.


xml :: diff. °ü·Ã ¼ÒÇÁÆ®¿þ¾î