on 2012 May 30 8:57 PM
Hi Guys,
I am learning XSLT mapping from article
I have created two message type, a service interface in the same SWC, The operation mapping was created in a distinct SWC. Later the test, my target message has two namespaces, the ns0xxxx and ns1xxxx.
In the code, I have
xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://xxx" xmlns:ns1=http://xxx
Is correct this? or my target message should have a namespace only?
Regards
Request clarification before answering.
Hi Ernesto,
xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://xxx" xmlns:ns1=http://xxx
It's totally correct but it is inneccesary the ns0 namespace in your first image because with the ns1 namespace you are pointing what is the tag namespace . It's easy to delete it with XSL or with module adapter.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ernesto,
You can delete one namespace easly in the XSL transformation:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http..." xmlns:ns1="..." exclude-result-prefixes="ns0">
...
</xsl:stylesheet>
Regards and good luck
Hi,
Refer this ( i have learnt and created above article referring below links 😞
http://www.w3schools.com/xsl/el_stylesheet.asp
Thanks
Amit
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.