Book a Demo

Author Topic: Generate a XML file (not XSD file) through EA ?  (Read 3072 times)

wuz8

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Generate a XML file (not XSD file) through EA ?
« on: October 20, 2011, 06:29:58 pm »
As we know, EA can generate a XSD file from a package via Code Engineering, but what i wanted is a XML file.

Can i generate a XML file from a package, or how can i translate .xsd file to .xml file ?

Thanks.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Generate a XML file (not XSD file) through EA
« Reply #1 on: October 20, 2011, 06:44:49 pm »
Export as XMI and use xslt?

q.
« Last Edit: October 20, 2011, 06:45:35 pm by qwerty »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Generate a XML file (not XSD file) through EA
« Reply #2 on: October 21, 2011, 12:14:03 am »
use some kind of xml editor tool (so not EA) to create an xml from your xsd.
(I think Visual Studio has a feature like that)

Geert

wuz8

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Generate a XML file (not XSD file) through EA
« Reply #3 on: October 21, 2011, 01:47:01 pm »
Quote
Export as XMI and use xslt?

q.

Thank you, qwerty.
I'm a beginner to XML and XSLT. Maybe it's so hard for me to write a .xslt file at present.
Can you give me an example about .xslt soure code?
My Email is [email protected].

Thanks anyway.wh

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Generate a XML file (not XSD file) through EA
« Reply #4 on: October 21, 2011, 07:45:31 pm »
Sorry, but I'm also not firm with xslt. I just know that this would be a way to do it and I'm always happy when others do that for me.

q.