I have the Java Class:

public class Customer
{
        public String sCustomerNumber;
        public String sFirstName;
        public String sLastName;
        public String sLocation;

}

I have the customer.xml file:

<customer>
        <CustNo>39350</CustNo>
        <FirstName>Anshuk</FirstName>
        <LastName>Anshuk</LastName>
        <Location>Hyderabad</Location>
</customer>

I want the output  XML Document after marshalling like
this:

<?xml version="1.0" encoding="UTF-8"?>
<customer>
          <CustNo>39350</CustNo>
          <FirstName>Anshuk</FirstName>
          <LastName>Anshuk</LastName>
</customer>

That is I dont want the Location Element in the output
file.
In that case How will I write the binding file?And
what Change I need to make in the Java Unmarshalling
Code?



                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to