gcoban |
Newbie |
|
Germany |
|
|
Male |
|
Thursday, September 19, 2013 |
Tuesday, May 19, 2015 7:01:23 AM |
5 [0.03% of all post / 0.00 posts per day] |
|
Does anyone have an idea please?
regards
|
Hi all,
Altova.IO.Input inputxml = new Altova.IO.StringInput(sb.ToString()); MappingMapToInhouseX2I_D07_D17Object.Run(inputxml, InhouseX2I_D07_D172Target);
I got a errror: An empty path is illegal.
Someone has an idea!!!!!
regards Cobi
|
I have found a solution!
StringBuilder sb = new StringBuilder(); Altova.IO.Output output = new Altova.IO.StringOutput(sb);
MappingMapToebIX_DK_RequestChangeOfSupplier_1Object.Run(Inhouse_392_E032Source, output);
Console.WriteLine(output.Writer.ToString());
regards cobi
|
Hello, can any body tell me how can i save directly in the output string variable in c# code?
Altova.IO.Input Inhouse_392_E052Source = Altova.IO.StreamInput.createInput("c:\test.in"); MappingMapToebIX_DK_RequestCancelChangeOfSupplier_1Object.Run(Inhouse_392_E052Source, sOut); Console.WriteLine(sOut);
For a suggested solution, I would be very grateful.
For better undestanding this code java must converted to c#!!! // mapping from String to (another) String String blah = "<here>is some xml text</here>"; Input input = new StringInput(blah); Output output = new StringOutput(); MappingMapToBlah.run(input, output); String myTargetData = output.getString().toString();
Thx cobi
|
Hi all, it's posible to transfer whole XML as string in Source to Flextext string field?
Sample input: xml <note> <to>Tove</to> <from>Jani</from> <headingheading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>
Sample out: txt 100, <note> <to>Tove</to> <from>Jani</from> <headingheading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>
the root from XML get the source filename self! But i need the content in the XML source file.
It's crazy but that is the practice!!!
regards.
|
|