B
B
beduin012019-04-26 15:24:56
XPath
beduin01, 2019-04-26 15:24:56

Does xsd schema offer many advantages over xpath XML parsing?

We have about 50 document subtypes. Theoretically, as I understand it, using XSD we can generate classes and try to upload data from classes to the database. But in practice, it seems that the same thing can be done using XPATH.
It's just that I've always thought that XSDs are mainly for validation. Also I do not see obvious advantages in comparison with parsing through xpath. Correct me if not right.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
NewDevLab, 2019-04-26
@NewDevLab

Well, yes, for validation, this is not enough.
and then Xpath, if valid.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question