0
我有這樣的項進行輸入XML轉型XSLT遞歸嵌套模板
<BusinessInteractionTypes>
<BusinessInteractionType>
<TypeId>123</TypeId>
<Name>Foo</Name>
<Description>XSLT</Description>
</BusinessInteractionType>
...a lot BusinessInteractionType Elements
</BusinessInteractionTypes>
但是有很多的轉變(向SOA的情況下),我需要轉換使用XSLT此輸入:
<businessInteractionTypes>
<businessInteractionType>
<BusinessInteractionType> <!-- Just first input node -->
<TypeId/>
</BusinessInteractionType>
</businessInteractionType>
<businessInteractionTypeHas> <!-- Recursive interaction began -->
<businessInteractionType>
<BusinessInteractionType>
<TypeId />
</BusinessInteractionType>
<businessInteractionTypeHas>
... recursive
</businessInteractionType>
</businessInteractionTypeHas>
</businessInteractionTypes>
這不是完全清楚的輸入和輸出是如何關聯。您沒有在輸入中包含足夠的內容以查看輸出結果如何。 –
Jim感謝您的關注,我解決了這個問題,很快我會在這裏發佈解決方案 – user902870