Question

Locked

XML rule based file

By ejayb9 ·
Hopefully I can explain this well enough-
I want to build rules into an XML file, fileA, that will be used to verify data in another XML file, fileB. XSD and DTD will not work. The rules will be applied to attribute values as well as element values.

For example,
fileA:
(person firstname="john" lastname="doe")

fileB:
(personrules)
(firstname="[a-z][A-Z]") <!-- first char is uppercase -->
(personrules)

Then using VB to read in the rules file (fileA) and mark/flag the data file (fileB).

Can this be done?
Thanks, any help is appreciated.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Back to Software Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums