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.
Just Few cents.... IMO, there are two errors in your namespace declaration.
xmlns -> attribute
ns1 or ns0 -> namespace prefix
a) You forgot to add quote for the namespace i.e xmlns:ns1= "http://xxx"
b) if your namespace "http://blah...blah" is different then you can use different namespace prefix either ns1 or ns2 or ns3. Here you use the same namespace, so you don't need different namespace prefix.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| 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.