Hi Christoph,
 
Thanks for the mail and for your thoughts.
 
Thanks 
Gurushant


[EMAIL PROTECTED] wrote:
Hi Gurushant,

some points to observe...

a) this is slightly nearer to the velocity users list, might have been
better to post it there...

b) Even though you can do some programming logic in velocity, it is not
easy and we encourage people to place their logic into java code and
via context variables and tools to enable velocity rendering.

c) The are other tools on the market to generate schemas out of XML.

d) it requires a lot of buisiness logic to parse a (J)DOM-tree to
categorize all elements and attributes for building a schema,
thereafter it is trivial to emit the resulting XSD.

Hope these thoughts helped a bit,
Christoph

Gurushant Hanchinal wrote:
> Hi, 
> 
> I am new to Velocity, I am looking for samples to generate XSD(XML schema) 
> files from the Java content or JDOM's content tree using Velocity.
> 
> Ex:
> 
> 
> 
> 
> Gurushant 
> Hanchinal 
> 
> 
> 
> 
> if the above content is in JDOM's content tree, I am interested in generating 
> XML Schema equivalent of the above using Velocity templates.
> 
> Can anyone please help me out in this regard?
> 
> Thanks in advance....
> 
> Regards,
> 
> Guru
> 
> 
> 
> 
> 
> Yahoo! India Matrimony: Find your life partneronline.

-- 
:) Christoph Reck

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Yahoo! India Matrimony: Find your life partneronline.

Reply via email to