This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

How to generate XSL file for cxml document

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 28425
102
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

;)
reply
    Bookmark Topic Watch Topic
  • New Topic