0
XML文件在XSLT
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="2c.xsl"?>
<offers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="2c.xsd">
<product name="apples" xsi:type="ct_fruit_planttype">
<harvest>May</harvest>
<price>27.90</price>
<supplier>Company2</supplier>
<stone>true</stone>
</product>
</offers>
如何讓繼承屬性值我怎樣才能得到xsi:type
屬性值。
這不起作用<xsl:value-of select="@type" />
任何建議請。
從什麼情況? –
我得到這樣的名稱屬性' '的值。是否有可能獲得xsi:type值? –