Last active
September 18, 2018 08:11
-
-
Save alezhu/40f03f491f3b6ea026a6fcd9614ef3ae to your computer and use it in GitHub Desktop.
XML parse with slip tags. SimpleTransformation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?sap.transform simple?> | |
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates"> | |
<tt:root name="ROOT"/> | |
<tt:variable name="skip"/> | |
<tt:template> | |
<root> | |
<values> | |
<tt:assign to-var="skip" val="0"/> | |
<tt:group> | |
<tt:d-cond frq="?"> | |
<material tt:value-ref="material"/> | |
</tt:d-cond> | |
<tt:d-cond frq="?"> | |
<dummyEnd> | |
<tt:assign to-var="skip" val="1"/> | |
</dummyEnd> | |
</tt:d-cond> | |
<tt:d-cond frq="*"> | |
<tt:cond-var check="skip=0"> | |
<tt:skip count="1"/> | |
</tt:cond-var> | |
</tt:d-cond> | |
</values> | |
</root> | |
</tt:template> | |
</tt:transform> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment