I have an xml file, xsl file, and an asp file which transforms the xml file using the xsl file and displays as html over the web.
I have another xml file that I am starting to use but I am getting nothing back.
The structure of the first xml file is:
<datatable>
<jmmain_nmmain_jfacilty>
<last>DOE</last>
<first>JOHN</first>
<middle>WAYNE</middle>
<suffix>JR</suffix>
<book_id>200208533</book_id>
<bookdate>12/23/2002</bookdate>
<jsection>CENT </jsection>
<unit>B </unit>
</jmmain_nmmain_jfacilty>
</datatable>
The second xml file is:
<datatable>
<jmmain_nmmain_archrg>
<last>DOE</last>
<first>JOHN</first>
<middle>WAYNE</middle>
<suffix>JR</suffix>
<race>W </race>
<sex>M</sex>
<book_id>200208533</book_id>
<bookdate>12/23/2002</bookdate>
<bondstatus>GL </bondstatus>
<bondamt>0</bondamt>
<fel_misd>M</fel_misd>
<chrgdesc>REVOCATION OF PR/BAIL</chrgdesc>
</jmmain_nmmain_archrg>
</datatable>
In the xsl file I changed the for-each statement from
"/datatable/jmmain_nmmain_jfacilty" (which works)
to
"/datatable/jmmain_nmmain_archrg" (which doesn't work)
The only change in the asp file is the name change of the file as I load them as ActiveXObjects.
Thanks for any ideas.
Tom Burrows
I have another xml file that I am starting to use but I am getting nothing back.
The structure of the first xml file is:
<datatable>
<jmmain_nmmain_jfacilty>
<last>DOE</last>
<first>JOHN</first>
<middle>WAYNE</middle>
<suffix>JR</suffix>
<book_id>200208533</book_id>
<bookdate>12/23/2002</bookdate>
<jsection>CENT </jsection>
<unit>B </unit>
</jmmain_nmmain_jfacilty>
</datatable>
The second xml file is:
<datatable>
<jmmain_nmmain_archrg>
<last>DOE</last>
<first>JOHN</first>
<middle>WAYNE</middle>
<suffix>JR</suffix>
<race>W </race>
<sex>M</sex>
<book_id>200208533</book_id>
<bookdate>12/23/2002</bookdate>
<bondstatus>GL </bondstatus>
<bondamt>0</bondamt>
<fel_misd>M</fel_misd>
<chrgdesc>REVOCATION OF PR/BAIL</chrgdesc>
</jmmain_nmmain_archrg>
</datatable>
In the xsl file I changed the for-each statement from
"/datatable/jmmain_nmmain_jfacilty" (which works)
to
"/datatable/jmmain_nmmain_archrg" (which doesn't work)
The only change in the asp file is the name change of the file as I load them as ActiveXObjects.
Thanks for any ideas.
Tom Burrows