  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Can we use java for loop for iterating a node of XML nodes while transformat | Can we use java for loop for iterating a node of XML nodes while transformat 2004-01-23 - By Jeroen Wenting
Back yes. Get a NodeList and you can loop through that with NodeList.item(int). Requires you can create a NodeList from what you want of course.
> -- --Original Message-- -- > From: A mailing list for Java(tm) 2 Platform, Enterprise Edition > [mailto:J2EE-INTEREST@(protected)]On Behalf Of Ashish Agnihotri > Sent: Thursday 22 January 2004 20:22 > To: J2EE-INTEREST@(protected) > Subject: Can we use java for loop for iterating a node of XML nodes > while transformation? > > > Hi there, > > My question is - can we use the standard "for" loop of java > with Xalan to traverse the nodes of an XML tree. > > Regards > - ashish > > > MASTEK > "Making a valuable difference" > Mastek in NASSCOM's 'India Top 20' Software Service Exporters List. > In the US, we're called MAJESCO > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Opinions expressed in this e-mail are those of the individual > and not that of Mastek Limited, unless specifically indicated > to that effect. Mastek Limited does not accept any > responsibility or liability for it. This e-mail and > attachments (if any) transmitted with it are confidential > and/or privileged and solely for the use of the intended > person or entity to which it is addressed. Any review, > re-transmission, dissemination or other use of or taking of > any action in reliance upon this information by persons or > entities other than the intended recipient is prohibited. > This e-mail and its attachments have been scanned for the > presence of computer viruses. It is the responsibility of the > recipient to run the virus check on e-mails and attachments > before opening them. If you have received this e-mail in > error, kindly delete this e-mail from all computers. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ============================================================== > ============= > To unsubscribe, send email to listserv@(protected) and > include in the body > of the message "signoff J2EE-INTEREST". For general help, > send email to > listserv@(protected) and include in the body of the message "help". >
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|
 |