Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Fix?

Status
Not open for further replies.

westcoaststyle

Programmer
Oct 15, 2001
81
US
I have a .xsql query which passes the initial values into the .xml file. For some reason I'm having a really hard time displaying those initial values so that the user knows what options they selected. Here's the raw-xml:

<?xml version=&quot;1.0&quot; ?>
- <page>
- <request>
- <parameters>
<date_type>eff_date</date_type>
<date>1010</date>
</parameters>
<session />
<cookies />
</request>
- <ROWSET>
- <ROW num=&quot;1&quot;>
<AFO_ID>0</AFO_ID>
<PC>T</PC>
<OAC_OBAN>65TT</OAC_OBAN>
</ROW>
</ROWSET>
</page>
-------------------------------------
The 2 values I want to display are the &quot;date_type&quot; and &quot;date&quot;. What do I need to put in my .xsl file to display them? I've tried:
-------------------------------------
<table borders=&quot;1&quot;>
<xsl:for-each select=&quot;REQUEST/PARAMETERS&quot;>
<tr>
<td><xsl:value-of select=&quot;DATE_TYPE&quot;/></td>
<td><xsl:value-of select=&quot;DATE&quot;/></td>
</tr>
</xsl:for-each>
</table>
-------------------------------------

but they don't show up at all.

Please help!!
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top