我需要使用xsl在xml文档中添加根标记,但是我做了几个例子而不能。
<log4j:event logger="grails.app.controllers.org.example.UserController" timestamp="1376174488361" level="INFO" thread="http-bio-8888-exec-1">
<log4j:message><![CDATA[ Realizando login]]></log4j:message>
</log4j:event>
<log4j:event logger="grails.app.controllers.org.example.UserController" timestamp="1376174488361" level="ERROR" thread="http-bio-8888-exec-1">
<log4j:message><![CDATA[Olá sou uma mensagem de erro]]></log4j:message>
</log4j:event>