The moose likes XML and Related Technologies and the fly likes Simple XSL Transformation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Simple XSL Transformation" Watch "Simple XSL Transformation" New topic

Simple XSL Transformation

Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
Hello Friends,
Happy New Year,
I am new to XMl and XSLT i have to develop an xsl file which can transform an xml file to html file. The main thing is that in my xml file i am not using any custom tags(only html tags). Is there any xsl file already available for this purpose. Please let me know. Because i dont think it is feasible to write templates for all the html tags.
Thanks in advance
[ January 04, 2003: Message edited by: Prakash Dwivedi ]

Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Mapraputa Is
Leverager of our synergies

Joined: Aug 26, 2000
Posts: 10065
So you need to transform HTML to HTML? Could you give some examples of which HTML tags should be mapped to which? Why not just show input HTML "as is"?

Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
Well, we will have our custom tags also along with standard html tags, but what i want to do is define xls file for our own tags only and import xls for standard html tags.
something what we do in jsp, when we make our custom tags and we define tag handlers for our custom tags only and not for standard tags. i think my question is more clear now.
I agree. Here's the link:
subject: Simple XSL Transformation
It's not a secret anymore!