XML question
I have an AJAX quote generator that displays quotes from an XML file.
here is a sample:
<?xml version="1.0" encoding="iso-8859-1"?>
<quoteview>
<item><quote>If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away.</quote><source>Henry David Thoreau</source></item>
</quoteview>
Currently the quote is displayed like so:
If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away.
But I want it to be displayed like so:
If a man does not keep pace with his companions, perhaps it is because he hears a different drummer.
Let him step to the music he hears, however measured or far away.
Basically I want to accomplish what <BR> does in HTML in XML. Anyone know?
|