cancel
Showing results for 
Search instead for 
Did you mean: 

. xml to . xsl ?

Former Member
0 Kudos

hi

I have a <b>. XML</b> file. I want to convert it to <b>. XSL</b> , How to do that (step by step) ?. I have downloaded Altova.

Thanks

dushanth

Message was edited by:

dushanth ry

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

for doing xslt mapping you need to create a .xlst file containing the xslt mapping of source and target data.

U can use Altova XMLSpy for creating .xslt mapping.

Following following steps for executing this mapping.

1. Create Source Data and Target Data Type in IR.

2. Take xml representation of source data and open it into Alto XMLSpy.

3. Create .xsd file for above source xml data.

4. Repeat above two procedure for Target Data.

Now Creating .xslt file you need to Use Alto MapForce.

Steps will be:

1. Open the Alto MapForce. Import the source .xml and .xsd file in it.

2. Similarly import the target .xml and .xsd in the MapForce.

3. You will have both source and target data available in MapForce in similar fashion as you have in IR.

4. Do the graphical mapping using extensive list of functions available there.

5. Save the mapping file.

6. Click the XSLT Tab . You will have the entire .xslt logic there.

6. Copy the above content and save it as .xslt file.

7. Create a jar file for the above .xslt file.

8. Go to IR , Import the .jar file into 'Imported Archive'

7. In Message Mapping , Choose XSLT from drop down box of Message program.

8. Import the jar containing the .xslt file.

9. Test the mapping.

Answers (2)

Answers (2)

Former Member
0 Kudos

do it with stylus studio..

more helpful n convenient wen using xsl..

Former Member
0 Kudos

Thanks guys for the reply

Do you have any PDF/Link for that, It will make me to understand better

Pls mail me: dushanthry@yahoo.com

Thanks

dushanth

Former Member
0 Kudos

u dnt need any thng fr tht,,,

hit, google..

or download.com and download stylus studio 2006..

u also hav help in that...

Former Member
0 Kudos

Hi Dushanth,

Use FCC in the receiver side to convert the output to CSV file which can be opened as .xsl

Regards