<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> </P>
<P>my piece of code....</P>
<P> XMLOutputter xout = new XMLOutputter(" ", true);<BR> FileWriter writer = new FileWriter("D://Tomcat4.1/webapps/careercenter/xml/res.xml");<BR> xout.output(doc,writer);<BR> writer.close();</P>
<P><BR> SAXBuilder builder = new SAXBuilder();<BR> Document mydoc = builder.build("D://Tomcat 4.1/webapps/careercenter/xsl/res.xml");</P>
<P> s.close();<BR> conn.close();</P>
<P> Document docResults=null;<BR> try<BR> {<BR> StreamSource stmsrc=new StreamSource("D://Tomcat 4.1/webapps/careercenter/xsl/viewresume.xsl");<BR> </P>
<P>TransformerFactory tFact=TransformerFactory.newInstance();<BR>Transformer transformer = tFact.newTransformer(stmsrc);<BR>JDOMResult jdRes=new JDOMResult();<BR>JDOMSource jdSrc=new JDOMSource(mydoc);</P>
<P> transformer.transform(jdSrc,jdRes);<BR> docResults=jdRes.getDocument();</P>
<P> xout.setTextNormalize(true);<BR> xout.output(docResults,out);<BR> }</P>
<P> </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!