以下部分包含单个文件,但我想在文件夹中包含与* .log匹配的所有文件。有没有办法让它发挥作用?
<!DOCTYPE root
[
<!ENTITY log SYSTEM "Log.log">
]>
<root>
&log;
</root>
日志文件中没有根元素。
甚至
<?xml version="1.0" encoding="UTF-8"?>
和/或像<?xml-stylesheet type="text/xsl" href="test.xsl" ?>
这样的xslt链接每个文件都有1000多条记录,如下所示
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
<System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
<SubType Name="Information">0</SubType>
<Correlation ActivityID="a54221e2-ad37-434a-8f0d-101f7abc2221" />
</System>
<ApplicationData>Test21</ApplicationData>
</E2ETraceEvent>
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
<System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
<SubType Name="Information">0</SubType>
<Correlation ActivityID="d30741c2-da73-434a-8f0d-101f7ceb2228" />
</System>
<ApplicationData>Test24</ApplicationData>
</E2ETraceEvent>