Think/Template.php
public function parseXmlTag(TagLib $tagLib, $tag, $attr, $content)
    {
        $parse = '_'.$tag;
        $content = trim($content);
        $tags = $tagLib->parseXmlAttr($attr, $tag);

        return $tagLib->$parse($tags, $content);
    }
public function parseXmlTag(TagLib $tagLib, $tag, $attr, $content)
    {
        $parse = '_'.$tag;
        $content = trim($content);
        $tags = $tagLib->parseXmlAttr($attr, $tag);

        return $tagLib->$parse($tags, $content);
    }
解析标签库的标签
需要调用对应的标签库文件解析类


@param TagLib $tagLib 标签库对象实例
@param string $tag 标签名
@param string $attr 标签属性
@param string $content 标签内容

@return string|false