I'm experimenting with some XML out of a Wrox book. Basically, the example creates an XML file of books, using book title, ISBN and description as XML tags.
The example then binds this data to an HTML page that you're supposed to be able to click a button and scroll through the records using commands like
Problem is that the first record shows up in my HTML file, however I can't scroll thru the records. Anyone know why this could be happening or how I might fix it
Here is the code that should advance the records:
I am a nobody, and nobody is perfect; therefore, I am perfect.
The example then binds this data to an HTML page that you're supposed to be able to click a button and scroll through the records using commands like
Code:
xmlData.recordset.moveLast()
Problem is that the first record shows up in my HTML file, however I can't scroll thru the records. Anyone know why this could be happening or how I might fix it
Here is the code that should advance the records:
Code:
<INPUT id="button1" name="button1" onClick="xmlData.recordset.moveLast()" type="button" value="First">
<INPUT id="button2" name="button2" onClick="if(xmlData.recordset.absoluteposition>1)xmlData.recordset.movePrevious()" type="button" value="<">
<INPUT id="button3" name="button3" onClick="if(xmlData.recordset.absoluteposition<xmlData.recordset.recordcount)xmlData.recordset.moveNext()" type="button" value=">">
<INPUT id="button4" name="button4" onClick="xmlData.recordset.moveLast()" type="button" value="Last">
I am a nobody, and nobody is perfect; therefore, I am perfect.