on 03-18-2008 9:25 AM
Hi,
I did XSLT mapping and It gave me 2 files
1. mapping.xslt
2.doTransform.bat
I am doing XSLT first time.
can someone suggest me how do I go ahead and use this mapping in my MM?
how do I import it into XI?
when I import this into XI as importedachieves into XI, its not getting recognized during IM
regards,
nikhil.
Hi Nikhil,
In XSLT Mapping, zip all the mapping files which are created in the altova map force and import that zip file in the imported archives, and there is no need of again creating the message mapping program in the design part. so now go to the interface mapping and u have an option of choosing the type of message mapping which u designed at the bottom, there choose the type of mapping as XSLT and proceed the scenario..
regards,
Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. am doing XSLT first time.
can someone suggest me how do I go ahead and use this mapping in my MM?
First create DT for source and target structure
then create MT for source and target structure
in source and target Message types you have the option XSD cklick on XSD options in source and target MT you will find XSD generated .
then you export the source and target xsd's to ur local machine , for using XSLT mapping we have tools like ALTOXmlspy and stylus studio in this tool you import the source and target xsd's and do mapping .
how do I import it into XI?
AFTERr completion of mapping you should zip the file and save it in your local machine and then import it in imported archieves in mapping objects
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi nikhil,
I think in the XSLT file you written there is some problem with the XML tags of the output file.
So check your program to see all XML tags are closed properly.
If any furthur problem let me know.
Regards,
Sankar
Edited by: Sankar Choudhury on Mar 18, 2008 11:48 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil
XML is not well formed means.
XML you are generating is not valid.It means in XML every opening tag must be closed like
Correct: XML example
<root>
<child1></child1>
</root>
Incorrect XML with error: XML not well formed
<root>
<child1>
</root>
So check this type of error, let me know other erroe
**Rewrds points if it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil,
1)You just make a .zip file for the xslt file.
2)Then go to IR,create a new IMPORTED ARCHIVE and browse your .zip file there.
3)Save and Activate the imported archive.
4)Go to interface mapping and choose MAPPING PROGRAM TYPE as XSL and then choose the xslt file as your mapping program name.
5)Save and Activate your interface mapping
This should solve your problem.
Please reward points if helpful.
Regards
Sankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to ZIP all the XSLT mapping files and the Import them into Import Archives in IR
Regards
Seshagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you activated the imported archive and refresh SLD- cache
You have to packed it in a Jar or Zip file. The file name (including path) of the archive must not be longer than 180 characters.
Importing XSLT and Java Archives
...
1. Create a mapping object of type Imported Archive on the design maintenance screen of the Integration Builder (see also: Creating an Object in the Integration Directory or Creating an Object in the PCK).
2. To import the archive, choose Import Archive. Once you have activated the archive other users can export it again.
3. Save the archive.
Thanks for your reply Swarup
I did the same as you said.
now it is throwing me a message "XML not formed"
this s wat all I did :
1. opened XSD and XML into Altova map force editor
2. I mapped between source target structures
3. Generated XSLT 2.0 / XSLT 1.0 / Java (tried with all the 3)
4. Imported them into imported archieve
5. Added the entry into by selecting XSL mapping
am I missing any step?
please guide me
now I am getting a message "XML Not well formed" when I try to test in IM from Test tab.
Regards,
Nikhil.
Hi,
XSLT Mapping steps
1. Create a source data type and a target data type.
2. Create the corresponding message type for the source and the target data types.
3. Create the respective message interfaces i.e 1 inbound message interface and an outbound message interface.
4. Remember in XSLT mapping we do not need a message mapping.
5. Instead the xslt program which you must have created by using altova xml spy or cooktop editor,save it as an xsl file .Then zip the file and import it under the imported archive section.
6. Then in interface mapping choose your mapping program as xsl and then put the corresponding xslt program
Use stylus studio for xslt mapping.
Refer these blogs for step to step procedure.
/people/aashish.sinha/blog/2008/01/17/step-150-by-150-step-simple-approach-for-xslt-mapping
/people/aashish.sinha/blog/2008/01/21/xslt-mapping-for-multiple-segments-of-xml
Hope this will help you.
Regards
Aashish Sinha
PS : reward points if helpful
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.