cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt regarding creating file structure

Former Member
0 Kudos

Hi friends,

I need small help in creating data type for an xml file

my xml starts like

<?xml version="1.0" encoding="UTF-8" ?>

- <MT_File1 xmlns="http://local//encrypt" Agent="0644">

- <Header>

Fields

How to popluate those xmlns and agent fields while creating data type?

Accepted Solutions (0)

Answers (1)

Answers (1)

RKothari
Contributor
0 Kudos

Hello,

Try inserting Attribute in the data types, you are using to read the file.

-Rahul

Former Member
0 Kudos

Hi Rahul,

Yeah i have created the attributes.. but for xmlns its taking

http://www.w3.org/2001/XMLSchema as default..but i need the name mentioned above

RKothari
Contributor
0 Kudos

Hi,

I think you should provide the XML Namespace parameter value as http://local//encrypt in the Message type.

-Rahul

stefan_grube
Active Contributor
0 Kudos

xmlns is a reserved value, so you do not create an attribute for this.

Just create one attribute for Agent

Former Member
0 Kudos

i am getting an error saying not enough values in context to create target node