我有一个如下的输入json
<xsl:template match="/" mode="unroll">
<xsl:apply-templates select="document('a.xml')/*"/>
</xsl:template>
<xsl:template match="@*|node()" mode="unroll">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
我要检查数组是否为空,
{
"test": [ ]
}
但是输出为“ null”。有人可以建议我帮忙。谢谢。