File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
simpleContent and complexContent
Joined: Sep 14, 2001
Feb 13, 2005 23:51:00
I am confuse about simpleContent and complexContent in XMLSchema.
Could you please help me with example to exlain about the differences between them?
Joined: Jan 23, 2002
Feb 14, 2005 05:54:00
Consider these two elements in an XML document:
<mydoc> <simple> This is a simpleContent element because it contains text only </simple> <complex> <description> This is a complexContent element because it contains other XML elements </description> </complex> </mydoc>
Effective Unit Testing
I agree. Here's the link:
subject: simpleContent and complexContent
Question about Extension
jaxb - getting InvocationTargetException during parsing
complexType, simpleType, complexContent, simpleContent
passing array in Axis method call
simpleContent & complexContent
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013