You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andrew Hill <an...@gridnode.com> on 2003/06/05 06:24:57 UTC

RE: Newbie Question:XML parsing

Nah, thats really a job for your parser.
Struts does come with a marvellous thing called "Digester" (which is part of
the commons project) but thats used for creating objects (usually for
configuration (its used in struts to process struts-config)) so is probably
not applicable to what your trying to do. (Digester itself uses whatever
parser is available to do the underlying xml parsing)

btw: Try and use the jaxp api if you can, then you wont be tying yourself to
any particular parser implementation so if you later decide to use a
different parser than xerces you can.

-----Original Message-----
From: Sushil Jain [mailto:sushil.jain@tatainfotech.com]
Sent: Sunday, 5 June 1994 12:08
To: Struts Users Mailing List
Subject: Newbie Question:XML parsing


I am new to Struts. I am buiding an application in which I need to
explicitily read an XML file as Input , and then validate the file itself
and the fields of the record in it against some rules . Wanted to know if
Struts provide some mechanism for it or there need to use some parser like
xerces for it.
Thanks
Sushil

>Disclaimer :
>This message is intended only for the named recipient. If you are not
>the intended recipient you are notified that disclosing, copying,
>distributing or taking any action in reliance on the contents of this
>information is strictly prohibited.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org