XML rule based file - TechRepublic
Question
February 5, 2009 at 08:28 AM
ejayb9

XML rule based file

by ejayb9 . Updated 17 years, 5 months ago

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]”)
(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 discussion is locked

All Comments