Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to generate XSL file for cxml document

 
Naveen K Garg
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rancher,

just wanted to know if there are any utilities which can be used to generate xsl stylesheet based on the input xml data.

I am specially looking for a stylesheet which can be used transform some xml data to cxml data format.

Regards
Naveen Garg
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Naveen K Garg:

just wanted to know if there are any utilities which can be used to generate xsl stylesheet based on the input xml data.


XSL structure mainly depends on the output structure , not on the input xml structure.
Input xml is only the place from which the xml pulls data.
 
Naveen K Garg
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rahul,

Yes, you are correct.

It should the output xml document and not input xml document.

do you know any tools which can help me?

Regards
Naveen Garg
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not aware of such a tool.I think its hand coded as because you have to know both the input and output data model.
Lets wait and see what experts on this forum has to say about this.

I have seen tools to make XSD out of xml's and with some minor changes you have the XSD ready.
 
Paul Clapham
Sheriff
Posts: 21136
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rahul Bhattacharjee:
Lets wait and see what experts on this forum has to say about this.
Rahul, you are one of the experts in this forum.

I have heard of tools where you provide the input and output (as XML or XSD) and then you can interactively specify what you want mapped to what. The result is an XSL that does that mapping. But I have no personal experience with those tools, and in any case you can't expect any tool to produce the XSL without human assistance.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Clapham:
Rahul, you are one of the experts in this forum.

Oh! thank you

 
Naveen K Garg
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rahul,

I found the following online tool for XML to XSL generation.

XML to XSL

I havn't tried it extensively but it seems to do the job.

Regards
Naveen Garg
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Naveen K Garg:
Hi Rahul,

I found the following online tool for XML to XSL generation.

XML to XSL

I havn't tried it extensively but it seems to do the job.


Thanks Naveen for keeping posted.
I will evaluate it sometime.

;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic