更新时间:2023-10-03 12:48:16
这样的事情应该是一个很好的起点
Something like that should work as a good starting point
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:template match="//Recordset">
<xsl:for-each select="Record">
<xsl:value-of select="ID"/>
<!-- tab char -->
<xsl:text>	</xsl:text>
<xsl:value-of select="TIL"/>
<xsl:text>	</xsl:text>
<xsl:value-of select="SET"/>
<xsl:text>	</xsl:text>
<!-- all other fields... -->
<xsl:value-of select="SystemID"/>
<!-- line feed char -->
<xsl:text> </xsl:text>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>