<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am trying read a full xml file:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><?xml version="1.0"
encoding="iso-8859-1"?><BR><MEDIAS
records="762"><BR> <MEDIA><BR> <ID>166</ID><BR> <TITLE>BANQUETE</TITLE><BR> <TITLE_ORIG>BANQUETE</TITLE_ORIG><BR> <DIRECTION></DIRECTION><BR> <CAST></CAST><BR> <SYNOPSIS></SYNOPSIS><BR> <NATIONALITY>Afeganistão</NATIONALITY><BR> <YEAR></YEAR><BR> <DURATION>8</DURATION><BR> <CLASSIFICATION>1</CLASSIFICATION><BR> <MEDIA_TYPE>DIGITAL</MEDIA_TYPE><BR> </MEDIA><BR> <MEDIA><BR> <ID>231</ID><BR> <TITLE>O
Exterminador do Futuro
3</TITLE><BR> <TITLE_ORIG>Terminator
3</TITLE_ORIG><BR> <DIRECTION>Jonathan
Mostow</DIRECTION><BR> <CAST>Arnold Schwarzenegger, Nick
Stahl, Claire Danes, Kristanna Loken, David Andrews, Mark Famiglietti, Earl
Boen, Moira Harris</CAST><BR> <SYNOPSIS>Uma nova
Terminatrix vem do futuro com o mesmo objetivo do robô anterior: matar John
Connor, líder da humanidade, agora sem a mãe e namorando uma
veterinária</SYNOPSIS><BR> <NATIONALITY>Estados
Unidos</NATIONALITY><BR> <YEAR>2003</YEAR><BR> <DURATION>1</DURATION><BR> <CLASSIFICATION>1</CLASSIFICATION><BR> <MEDIA_TYPE>DIGITAL</MEDIA_TYPE><BR> </MEDIA></FONT></DIV>
<DIV><FONT face=Arial size=2></MEDIAS></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have this code:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV><BR>CmsJspActionElement cms = new CmsJspActionElement(pageContext,
request, response);</DIV>
<DIV> </DIV>
<DIV>String filename = request.getParameter("filename"); </DIV>
<DIV> </DIV>
<DIV>String content = "[nothing read]";</DIV>
<DIV> </DIV>
<DIV><BR>//CmsXmlContent myXmlContent =
CmsXmlContentFactory.unmarshal(cms, resource, request);</DIV>
<DIV> </DIV>
<DIV>CmsFile configFile = cmsObject.readFile(filename);<BR>CmsXmlContent config
= CmsXmlContentFactory.unmarshal(cmsObject, configFile);</DIV>
<DIV> </DIV>
<DIV>String varX = config.getStringValue(cmsObject,xPath,locale);</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I cant think in the form to read this file and display the contents em
lines...</DIV>
<DIV> </DIV>
<DIV>Someone help me?</DIV>
<DIV> </DIV>
<DIV>Tks</DIV>
<DIV>Wils</DIV>
<DIV></FONT> </DIV></BODY></HTML>