Hi all,
I've created a small program to convert an XML file in java source code. The problem I have occurs when I try to convert an XML object into a java object. My XML file contains: <JavaAttribute> <comment> <p> Property session.sle indicates bla bla bla. </p> </comment> While my xsd file contains: <xsd:element name="JavaAttribute"> <xsd:complexType> <xsd:sequence> <xsd:element name="comment" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> Appearantly because of the <p> tags, the string which is read into my JavaAtribute class is empty. And I really want the entire <p> Property ... </p> string. Can someone tell me how to do this ? Do I need to use another type than xsd:string ? Or should I first attempt to convert my input XML into read something like: <comment> <p> Property ... (etc) If so, how can I do this (in e.g. XSLT) ? Any help is appreciated. (Of course, if there are products out there that can help me convert XML into java sources, I am also interested to know this !) Regards / Met vriendelijke groet, Michiel Kalkman ABN AMRO Afdeling: WebSolutions Telefoon: (++31 20 6)839140 Locatie: Parade HB2326 --------------------------------------------------------------------------- This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. ABN AMRO Bank N.V. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. ABN AMRO Bank N.V. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. --------------------------------------------------------------------------- ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev