cancel
Showing results for 
Search instead for 
Did you mean: 

cXML with SAP PI

former_member189558
Contributor
0 Kudos

Hello,

We need to use cXML for our project. Based on the thread ( [; )

the following steps need to be done with the cXML DTD.

1.First Delete the Multiple Declaration of "Method .ANY"

2.replace all "ds:" character with 'ds_'

3.replace all "xades: " with 'xades_'

4.replace all "xmlns" with 'attr_'

5) After this use Altova to convert the DTD to XSD.

First of all, we could not carry out the 4th point, as in that case Altova says that it is invalid, and it fails to get imported in PI as well.

Without step 4 , if we import it as external definition, then there are certain attributes with type xml:lang coming in Red.

Can anybody tell us on how to fix this.

Thanks,

Himadri

Edited by: Himadri Chakraborty on May 5, 2011 5:49 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Himadri,

Actually I faced the same issue with below point:

Himadri Chakraborty wrote:

4.replace all "xmlns" with 'attr_'

Correct step should be:

     4.replace all "xmlns:" with 'attr_'

Then it will work as expected, it was just a typing mistake I assume.

Best Regards,

Piotr Radzki

Former Member
0 Kudos

Hi Chakraborty,

Which transaction you are trying to use? From where you downloaded the DTDs let me know. I can try to convert into xsds and give to you.

Regards,

---Satish

former_member189558
Contributor
0 Kudos

Hi Satish,

Sorry for the delay in response..

I learned after implementing that the red Lang is not an issue at runtime.

Marking this question as answered...

Thanks and Regards,

Himadri