вторник, 6 декабря 2022 г.

EDMX File to XSD with XSLT

    Transform EDMX to XSD helps to resolve the observability issues. XSD allows diagram creation using several diagraming tools. Unfortunately, Dynamics  EDMX  not recognized by VS community edition. 

    What is required:

  •     Saxon , you can download it from the official web site
  •     xsl below 

     Usage

     java -jar saxon-he-11.3.jar  test.xml test.xsl -o:test.xsd

     Following xsd will be created as a result 


XSLT https://drive.google.com/file/d/1l2jCxWO9N8I0U2D52NA1T3S4SFFAXSN5/view?usp=sharing

EDMX XML example https://drive.google.com/file/d/1J5jincHIH_UAGl9ZJUW2O7c0ye9S1yuV/view?usp=sharing