Skip to Content
author's profile photo Former Member
Former Member

Creating RosettaNet data types in XI 2.0: 'xml:lang' attribute

Has anybody successfully created a RosettaNet interface in XI 2.0?

I am working with the PIP 3A2 messages, but some of the elements have an attribute named 'xml:lang', which is a standardized attribute from the W3C's XML namespace. The attribute name is declared as 'xml:lang' because it's still a DTD-based PIP. Normally, in schema, this is handled by declaring an import of the xml.xsd file provided by W3C and defining the namespace alias 'xml' to point to it in the RosettaNet schema. The xml.xsd provided by W3C boils down to the following declaration, to support 'xml:lang' as an attribute..." xmlns:xs="" xml:lang="en">

<xs:attribute name="lang" type="xs:language">



I'm trying to create this interface in the XI 2.0 data type editor, but...

1. I can't create attributes as standalone data types in alternate namespaces (to simulate the declarations in W3C's xml.xsd).

2. I can't link a standalone attribute declaration from another namespace to an attribute in the editor.

3. The editor prohibits use of a colon in the attribute name (as it should), so I can't declare the attribute name to be 'xml:lang'.

4. I can't figure out how to control the addition of a new namespace alias to 'xml'. The editor wants to use default names like 'p0' when I bring in types from other namespaces.

Can anyone suggest where I should look for an answer?

--Dan King


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jul 29, 2004 at 08:58 PM

    Hi Dan,

    You can design and Test Rosettanet PIPS Messages in XI-3.0 only.



    SAP Netwaver RIG-XI

    SAP Labs LLC, USA

    Add comment
    10|10000 characters needed characters exceeded