XSD-XSD mapping

I have two XSD files (source and target) ... on what basis should I map these two files to get XSLT? I know how MapForce helps in comparing, but I worked with a sample project. Now I wanted to know on what basis I should compare these files that my client sent me.

+3
source share
2 answers

I don't think there could be any general way to generate XSLT, given the two XSDs (if that's what you are after). XSDs describe the structure of XML files, but they don’t say anything about what data they contain (their semantics, if you like).

eg.

<Customer>
   <Name>ACME</Name>
   <Address>9 Main Street, Anytown, USA</Address>
</Customer>

and

<Customer Name="ACME" City="Anytown" Country="USA" Address="9 Main Street"/>

- XML, , , XSD, <Address> Address, City Country .

, XSLT - , XML , XSD - .

+2

, XSLT - , XML , XSD - .

0

Source: https://habr.com/ru/post/1784692/


All Articles