Multiple element types
Is it possible to assign mutiple element-types to a single element?
What I want to achieve is to have an element be either a Date, DateTime or Time element. Is this possible?
If multiple types aren't possible are multiple patterns possible? Like: ####-##-##T##:##:## and ####-##-##
[304 byte] By [
deddiekoel] at [2007-11-18 17:10:55]

# 1 Re: Multiple element types
Perhaps you could explain a bit futher. You are working with some sort of schema language, which ?.
khp at 2007-11-10 3:28:21 >

# 2 Re: Multiple element types
Whoops
I'm using XML schema's (xsd) to define my XML document. In which I would like to define a element which can be multiple element types (date, dateTime, time). So effectively I can ommit the time part in a date definition. Right now I have to add T00:00:00 at the end of a date when I want to use it (element type is set at dateTime)