kristolcrawley
Programmer
I have a jhtml page that I'm currently doing a db call to fill a select list. I'd like to use xml to do this instead. I created an xml with the output for the select list but I can't figure out how to get the jhtml to read the xml. I can get it to generate the "name" element in a table, but not for a select list. I can't put the jhtml into an xsl and render it, it has to be xml/xsl read from the jhtml.
affiliate.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="affiliate.xsl"?>
<affiliate>
<detail>
<name>NORTEL</name>
</detail>
<detail>
<name>TRANSPORTATION</name>
</detail>
<detail>
<name>BCI</name>
</detail>
<detail>
<name>SOLECTRON</name>
</detail>
<detail>
<name>BMW</name>
</detail>
<detail>
<name>MEDICIS</name>
</detail>
<detail>
<name>FUJI</name>
</detail>
<detail>
<name>SUN MICROSYSTEMS</name>
</detail>
</affiliate>
affiliate.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="affiliate.xsl"?>
<affiliate>
<detail>
<name>NORTEL</name>
</detail>
<detail>
<name>TRANSPORTATION</name>
</detail>
<detail>
<name>BCI</name>
</detail>
<detail>
<name>SOLECTRON</name>
</detail>
<detail>
<name>BMW</name>
</detail>
<detail>
<name>MEDICIS</name>
</detail>
<detail>
<name>FUJI</name>
</detail>
<detail>
<name>SUN MICROSYSTEMS</name>
</detail>
</affiliate>