<%@ taglib uri="http://jakarta.apache.org/taglibs/xtags-1.0" prefix="xtags" %> RSS Styling Demo <% String symbols = request.getParameter( "symbols" ); if ( symbols == null ) { symbols = "ORCL+IBM+SUNW"; } else { symbols = symbols.replace( ' ', '+' ); } // note this URL should only be used for development! String url = "http://www.xmltoday.com/examples/stockquote/getxmlquote.vep?s=" + symbols; %>

This example demonstrates fetching XML stock quotes from a web service and formatting the results using the XTags library.

Stock Codes

Enter symbol(s):   

Stock Quotes

Symbol Ask Open Days High Days Low Price Change Volume Date Time