2009 Feb 26 12:57 PM
Hi .
I have a problem with the empty tags when I am generating the XML document.
The CALL TRANSFORMATION generates de end-tag without de start-tag (I know that is well formed) but we need that generates with start-tag.
For example generates:
<item>
<DATE>2008-11-28</DATE>
<SHIPID/>
u2026.
</item>
And we need:
<item>
<DATE>2008-11-28</DATE>
<SHIPID></SHIPID>
u2026.
</item>
We almost try with IF_XLM_DOCUMENT and behave the same.
Any suggestion?
Thanks and best regards
Spc
Hi .
I have a problem with the empty tags when I am generating the XML document.
The CALL TRANSFORMATION generates de end-tag without de start-tag (I know that is well formed) but we need that generates with start-tag.
For example generates:
<item>
<DATE>2008-11-28</DATE>
<SHIPID/>
u2026.
</item>
And we need:
<item>
<DATE>2008-11-28</DATE>
<SHIPID></SHIPID>
u2026.
</item>
We almost try with IF_XLM_DOCUMENT and behave the same.
Any suggestion?
Thanks and best regards
Spc
2009 Feb 26 1:05 PM
That is how XML puts empty tags.
i dont think it can be changed...
2009 Feb 26 1:49 PM
XML provides special syntax for representing an element with empty content. The following examples are equivalent in XML:
<tag></tag>
<tag />
<tag/>
The CALL TRANSFORMATION uses <tag/> but my client ask me to use <tag></tag>
what can I change this syntax?
Best regards and thank you
spc
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |