A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Does Java support default values in XML Schemas
Joined: Apr 18, 2009
Apr 18, 2009 05:40:01
I am using JDK1.6. And the packages javax.xml and org.w3c.dom.
Tried using default="default_val" for both an element, and then an attribute.
Nothing works. After massive search in google, am posting this. Is there a working example of passing a default value from the schema when the XML does not supply one?
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Does Java support default values in XML Schemas
dom4j / default attributes?
"force" a namespace?
Castor | Default Element Value
get default directory
XML Suggestions in Eclipse
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013