MaineRunner
Programmer
I am working on a schema for validating incoming XML data files. The basic form of the xml coming in should be:
In my schema, I want to verfiy that there are elements below the 'data' tag. Validation of that informaiton is done in a second validation step. Therefore this schema only cares that the sending applicaiton has sent something below data tag, but it does not know about the contents of data tags.
Could someone tell/show me a way to use the XML schema to verify there is a child (or children) under 'data'?
Thanks
Code:
<job_foo>
<global_info>
...
</global_info>
<data>
print data here
</data>
<data>
more print data
</data>
...more data tags
</job_foo>
In my schema, I want to verfiy that there are elements below the 'data' tag. Validation of that informaiton is done in a second validation step. Therefore this schema only cares that the sending applicaiton has sent something below data tag, but it does not know about the contents of data tags.
Could someone tell/show me a way to use the XML schema to verify there is a child (or children) under 'data'?
Thanks