Hi Uzi,
 
Haven't looked at the Schemas, but if your NoteType has simple content, then in 
the derivation hierarchy of NoteType interface there will be an interface 
corresponding to the Schema type of the content, such as XmlInt or XmlString. 
The method that you are looking for is on that interface.
 
Radu


________________________________

        From: Uzi Landsmann [mailto:[email protected]] 
        Sent: Thursday, April 16, 2009 4:30 AM
        To: [email protected]
        Subject: Missing addContent() method
        
        
        

        Hi all, 

        I'm having a strange problem and I'm not sure what I am doing wrong, 
when I'm trying to use xmlbeans to generate classes for the Swedish Electronic 
Invoice Specification (downloadable from 
http://www.svefaktura.se/SFTI_Basic_Invoice20081227_EN.zip) 

        When scomping the xsds, starting with the SFTI-BasicInvoice-1.0.xsd 
schema, found in the SFTI Basic Invoice_1.0/fsv/xsd/maindoc folder (in case you 
want to try it too), xmlbeans generates a set of classes following all the 
schemas that this file imports, as expected.. 

        When I then look at the source, I can find classes such as 
oasisNamesTcUblCommonBasicComponents10.NoteType which has all expected methods, 
except one which I'm missing: namely a way to add element contents, that is the 
xyz between the NoteType start and end elements in <NoteType>xyz</NoteType>.

        I have no idea why this is happening and have been using xmlbeans 
before without any problems. Please let me know if you have any thoughts about 
this problem.

        Thanks,

        
        /Uzi


Reply via email to