0
我想從下面的xml中使用ssl規則打印出一個有序列表...爲列表項目生成的html,但列表項目本身沒有任何打印。我想我正在選擇每個項目並打印出步驟的值。我究竟做錯了什麼?XML到HTML有序列表
XML:
<rental_listings>
<property>
<address number="123" street="Main St." unit="1R" city="Townsville" state="broken" zip="10001"/>
<description nbeds="2" nbaths="1" sqft="755" nparking_spots="1" pet="no" washer_drier="yes"/>
<rent>825</rent>
<application_process>
<step>
Get to the application page at: http://www.ineedaplacetorent.com.
</step>
<step>
Fillout the form and submit with a credit card number
to pay for the application process.
</step>
<step>
Be sure and fill out the name of a reference whom you rented from before.
</step>
</application_process>
<comments>
This is a lovely apartment with mountain views.
Cellphone reception is good as is TV reception.
</comments>
</property>
</rental_listings>
XSL:
<div class="apply">
<H3>Application Process</H3>
<ol>
<xsl:for-each select="application_process/step">
<li><xsl:value-of select="step"/></li>
</xsl:for-each>
</ol>
</div>