xsl-list
[Top] [All Lists]

[xsl] Can a required element be empty

2008-07-16 13:41:42
Hi:

A basic xml question. Can an element that is required per the schema, be empty 
and the file still valid?

For example, if I hav an element id as mandatory per the schema,

<test>
<id/>

<otherelement>others </otherelement>

</test>

is this still valid xml?




      


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>