On Thu, 10 Apr 2008, Rainer Schwarze wrote: > > I noticed this too. It's rather pesky. Do you know if the schema instructs > > one to extend the other, or are they independently defined with repeating > > contents? (We'll want to know the answer before we go and ask xmlbeans > > about supporting the java class hierachy) > > From what I can see with my limited schema knowledge, CT_RPr and > CT_ParaRPr both (among one or two others as well) refer to EG_RPrBase > within their <xsd:sequence> section. So it looks to me as if it is > common contents.
I concur. I've done a post to the xmlbeans list to ask if we can get a common interface or something for them > > Yeah, this is a bit pesky. Might be worth a post to the xmlbeans list, to > > ask if it's possible to get the list of all children > > My current solution is a helper class which uses XmlCursor to build the > lists of all children (there's a sample named "Order Matters" (if I > remember well) at the XmlBeans site - it is similar to that one). This > works for now in my case. Cool. I've done a post to the xmlbeans list, and I'll play with the xmlcursor stuff if there's no nicer solution they can suggest Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
