Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 xslt 的新手。有人可以就以下问题提供一些指导吗?我需要编写一个模板,该模板从以下输入返回最大值和最小值节点 EI
<Data> <EI>110</EI> <EI>111</EI> <EI>112</EI> <EI>113</EI> <EI>114</EI> <EI>115</EI> </Data>
要找到最小值:
/Data/EI[not(. > /Data/EI)][1]
要找到最大值:
/Data/EI[not(. < /Data/EI)][1]