L
Lukas
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:
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:
_______________
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?
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?