aditya.2ky Posted November 16, 2012 Share Posted November 16, 2012 In the xml schema data type --> date allows date as yyyy-mm-dd format by default.How can we modify it so that it accepts yyyy/mm/dd format style instead ? Link to comment Share on other sites More sharing options...
boen_robot Posted November 20, 2012 Share Posted November 20, 2012 You must define your own type, and use it instead.In addition to xs:date, the built in types include xs:gDay, xs:gMonth, xs:gYear. You can combine them into a new type.I'm not actually sure if you can use them in a string though... but you can certainly use them on different attributes or elements. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now