Defining & Implementing Namespace
Updated:
Namespace is a technique that defines a set of unique names within an XML file, consisting of several XML elements such that if two entity has the same name, declaring Namespace will provide a unique identification to the element where the namespace is declared. Declaring a namespace requires to provide a Prefix and an URI (Uniform Resource Identifiers) for identifying the work of the element declared. All the descendants with the element would be identified with the prefix provided.
Prerequisites for adding Namespace in Portal
- You need to have valid credentials of the portal.
- You need to navigate to the Process Flow listing page for creating or editing a Process Flow.
- You need to create a Process Flow or Edit an existing process flow for implementing Namespace in Mapper node.
Steps to define Namespace in Mapper Node of Process Flow
-
Create a New Process Flow or Edit an existing Process Flow for implementing Namespaces. You can view the Process Flow Designer Page. Click on the Node Configuration button for the Mapper node after linking the application nodes for viewing the mapper window.
- Expand the Transformation node to view the Namespace Button.
- Click on the Ellipses(…) beside the Namespace button. You will be able to view the button Explore Namespaces.
- You can view the Namespace window after clicking on the Explore Namespace button. Click on the New button. You can view the fields for entering Prefix & URL appears.
- Enter the Prefix & the URL from providing a reference to namespace. On the Actions column you will be able to view button for SAVE and Delete. Click on the SAVE button.
- Prefix : Enables you to provide a name to the Namespace.
- URL : A reference that provides a unique identity to the namespace.
- Click on the Preview Button to view the XSLT file. You can view the namespace in the header region of the XSLT.
Note : The Preview button would be available as per your Organisation Role. - You can map attributes with namespace by providing the given syntax in the image below. Click here to know more about the mapping attributes. Click on the SAVE button after implementing the mapping.
Following the above the process, you can successfully create and define a namespace as per your requirement.