How to convert XSLT to XSD?

Asked

Viewed 32 times

2

There are two files one xslt and I need an xsd. it is possible to convert/transform xslt to xsd ?

1 answer

4


It doesn’t make sense to do that because they have different purposes:

XSLT is using to "parse" a XML turning into another XML (or another format such as HTML)

Read more here: https://msdn.microsoft.com/pt-br/library/ms759096(v=vs.85). aspx

XSD is a schema used to validate the structure of XML, as present nodes, data type, etc.

Read more here: https://msdn.microsoft.com/pt-br/library/ms765537(v=vs.85). aspx

So it makes no sense to convert one to another, because they are different in structure and have different purposes.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.