-
how to write to an xml schema file using java (1 messages)
- Posted by: Calma A
- Posted on: January 25 2010 00:40 EST
Hi. I'm facing a problem here.I'm creating xml files from scratch using java code and now I want to build the xml schema of these files but I want to edit them myself as I want to be able to specify the type of elements and later on change data like adding new tags or changing their type or even removing them but I googled the web and didn't come to a solution, would you please help me in that.Thanks alot..Threaded Messages (1)
- Re: how to write to an xml schema file using java by Sergei Batiuk on February 09 2010 17:42 EST
-
Re: how to write to an xml schema file using java[ Go to top ]
- Posted by: Sergei Batiuk
- Posted on: February 09 2010 17:42 EST
- in response to Calma A
Schemas are typically static by nature and it is not common to dynamically generate schemas. The XML files are dynamic, but they are validated against a static schema. This is the reason why you had problems finding an existing solution for generating a schema using Java API. You should consider changing the design of your application. Unless your application is not a schema designer, of course :) Java Development on Demand http://www.hitech.com.ua/en/ http://www.hata.com.ua/