ç¹å®ã®ã¨ã¬ã¡ã³ããããã®ã¨ã¬ã¡ã³ãã表ãXPathãçæãããã¨ããããããperlã ã¨ããã楽ã«ã§ããã®ã XML::Diff â XML DOM-Tree based Diff & Patch Module - search.cpan.org ã®ã½ã¼ã¹ãè¦ã¦ã¦ç¥ã£ãã XML::LibXML::Nodeã«nodePathã£ã¦ããã¡ã½ãããããã This function is not specified for any DOM level: It returns a canonical structure based XPath for a given node. ã¨æ¸ãã¦ããéã use XML::LibXML; my $xml = <<'__XML__'; <root> <category> <name>fruit</name> <item> <name>apple</name>
{{#tags}}- {{label}}
{{/tags}}