473,387 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Altova Mapforce - xml 2 xml map: empty elements output although input element is not empty

title:
xml to xml mapping: empty elements output although input element is not
empty
Why is is that when mapping from a XML schema to another XML schema,
when drawing a default connection like this:
| |> >| |>
| super-source-element |>---------->| super-target-element |>
| source-element |>---------->| target-element |>
| |> >| |>
the result in the output tab is:

<super-target-element>
<target-element />
</super-target-element>

Please note that the target-element is EMPTY, although in the
input-file that I've set up for the source-schema there is content in
the source element:

<source-element>STUFF</source-element>

I've found that I can force the content to be transferred like so:

_______________| |> | filter | >| |>
| |> |_______________| >| |>
| s-element |>-------------->|node/row| | |->| t-element |>
| |> _______ |________| | | >| |>
| |> |C= true|>-->|bool |result|>-| >| |>
| |> |______ | |________|______| >| |>


producing in the Output tab:

<super-target-element>
<target-element>STUFF</target-element>
</super-target-element>

... but I can't imagine that I'm meant to insert a Nodes/Rows filter for
EVERY SINGLE xml element that I want to map.

What's up with that?

Nov 10 '05 #1
3 4465
Hi Lukas,

this is working for me if I try the PersonList.mfd sample. Did you try
this also?

Regards

Nov 10 '05 #2
Hi Spiff,

I just had a look at that mapping and found that the crucial difference
between the PersonList example and my mapping was that the schema on
the left hand side in PersonList defines all the mapped simple types
(xs:string) while mine didn't (xs:all).

The absence of a defined simple type apparently keeps Mapforce from
mapping the content. Easy to fix now.

Thanks!

Lukas

Nov 10 '05 #3
Good news :-)

Nov 10 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michael Herman \(Parallelspace\) | last post by:
Suppose I have two RDF files (and corresponding RDF Schema files) that are used to store calendar appointment information using different (RDF) schemas. Can Altova mapforce...
18
by: Neal | last post by:
According to the specs (http://www.w3.org/TR/html401/struct/links.html#h-12.2), the <a> element requires an end tag. And so, when we use <A NAME="foo"> in HTML 2.0 to 4.01, it won't validate,...
8
by: Leon Mergen | last post by:
Hello, I'm currently trying to fix a somewhat weird map problem, and after 4 hours of debugging I'm having trouble convincing myself that it really is a problem with my code, rather than some...
7
by: lukaslatz | last post by:
Hi group I'm fed up with the Altova Mapforce user forum because posts go missing and it's slow. Is there a group especially for vendor-specific topics/issues or are these things ok in...
11
by: Lukas | last post by:
Hi Group, In Mapforce 2005 R3, when mapping to CSV with the "First row contains field names" option UN-checked on the CSV target component settings, the characters (hex) FF FE FF FE are inserted...
30
by: Raymond Hettinger | last post by:
Proposal -------- I am gathering data to evaluate a request for an alternate version of itertools.izip() with a None fill-in feature like that for the built-in map() function: >>> map(None,...
1
by: announce | last post by:
Hi there! This is just a quick not to announce availability of Altova's 2008 product line, which includes C# code gen and Visual Studio integration in multiple tools. A few new features in...
0
by: announce | last post by:
This is just a quick note to announce availability of Altova's 2008 XML product line, which includes C# code gen and Visual Studio integration in multiple tools. A few new features in v2008...
1
by: announce | last post by:
Greetings! Just a brief note to let you know about Release 2 of Altova's v2008 product line. From very large file support, to new functionality for working with OOXML and more, a few of the new...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.