Author Topic: Adding Version Numbers to XSD  (Read 461 times)

A Porter

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Adding Version Numbers to XSD
« on: November 26, 2008, 09:15:10 pm »
I am creating XSD files from an EA package successfully using the 'Generate XML Schema' functionality.  The schema element is being created as thus;
<xs:schema  targetNamespace="http://www.w3.org/2001/XMLSchema"
            xmlns="http://www.*********.com/schemas/address"
            xmlns:add="http://www.w3.org/2001/XMLSchema"
            xmlns:xs="http://www.w3.org/2001/XMLSchema">

I would like the schema to have a version number so it will appear as follows;
<xs:schema  targetNamespace="http://www.w3.org/2001/XMLSchema"
            xmlns="http://www.*********.com/schemas/address"
            xmlns:add="http://www.w3.org/2001/XMLSchema"
            xmlns:xs="http://www.w3.org/2001/XMLSchema"
            version="001.000">

I know that you can amend the transformation templates, which I have done to create the xsd model in the first place, but I believe these created by code engineering templates.  When I look at the code enginering templates nothing exists for XSDs.  does anyone know how to change the code enginerring templates for XSD

Thankyou in advanced