XML Server Getting Started    
            // print text  
         case Node.TEXT_NODE: { 
               sw.write(  node.getNodeValue()); 
               break; 
            } 
            // print processing instruction 
         case Node.PROCESSING_INSTRUCTION_NODE: { 
               sw.write(node.getNodeName()); 
               String data = node.getNodeValue(); 
               if ( data != null && data.length() > 0 ) { 
                  sw.write(   ); 
                  sw.write(data); 
               } 
               break; 
            } 
      } 
      sw.flush(); 
   } // getNodeText  
    public void processOutParameters(Object o) throws Exception { 
} 
private HttpServletRequest _req; 
private ServletContext _sc; 
    private Document _doc=null; 
} 
 2000 2002 Computer Technology Inc. All rights reserved. 
Page 64 




J2EE Web Hosting Tundra XML Server Pages J2EE Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.