<DIV>
<P>I am building XML and using XSLT to transform to html...</P>
<P>But,what I see on web is an XSL with all the values from XML....</P>
<P>I am not sure if I need to make chnages in my code or my XSL???Please help....</P>
<P>(Also,Attached are my XML and XSL.....</P>
<P>thanks</P>
<P>naveen</P>
<P>&nbsp;</P>
<P>my piece of code....</P>
<P>&nbsp;&nbsp;XMLOutputter xout = new XMLOutputter(" ", true);<BR>&nbsp;&nbsp;FileWriter writer = new FileWriter("D://Tomcat4.1/webapps/careercenter/xml/res.xml");<BR>&nbsp;&nbsp;xout.output(doc,writer);<BR>&nbsp;&nbsp;writer.close();</P>
<P><BR>&nbsp;&nbsp;SAXBuilder builder = new SAXBuilder();<BR>&nbsp;&nbsp;Document mydoc = builder.build("D://Tomcat 4.1/webapps/careercenter/xsl/res.xml");</P>
<P>&nbsp;&nbsp;s.close();<BR>&nbsp;&nbsp;conn.close();</P>
<P>&nbsp; Document docResults=null;<BR>&nbsp;&nbsp;try<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;StreamSource stmsrc=new StreamSource("D://Tomcat 4.1/webapps/careercenter/xsl/viewresume.xsl");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </P>
<P>TransformerFactory tFact=TransformerFactory.newInstance();<BR>Transformer transformer = tFact.newTransformer(stmsrc);<BR>JDOMResult jdRes=new&nbsp; JDOMResult();<BR>JDOMSource jdSrc=new JDOMSource(mydoc);</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; transformer.transform(jdSrc,jdRes);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; docResults=jdRes.getDocument();</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xout.setTextNormalize(true);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xout.output(docResults,out);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</P>
<P>&nbsp;</P></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://pa.yahoo.com/*http://rd.yahoo.com/evt=1207/*http://promo.yahoo.com/sbc/">SBC Yahoo! DSL</a> - Now only $29.95 per month!