[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Can a required element be empty


Subject: [xsl] Can a required element be empty
From: Sarkup Sarkup <sarkups@xxxxxxxxx>
Date: Wed, 16 Jul 2008 13:41:15 -0700 (PDT)

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?


Current Thread
Keywords