映射内联XSLT [英] Map Inline XSLT

查看:103
本文介绍了映射内联XSLT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 

我可以映射2个架构:它们的一些元素使用functoid而一些使用内联xslt 在同一张地图上?


当我尝试做的时候我开始在内联xslt中得到错误告诉我目标节点有无效的子元素。期望的可能元素的列表...跟随它的元素...我想我必须使用内联xslt
映射所有元素...


对我而言似乎不太可能..但是请确认。 。



谢谢




迎来A

解决方案

回答我认为你问的问题,不,但......


如果您在自定义xsl中生成节点,则该节点和所有子节点也必须由xsl生成,因为无法从外部注入子节点。


但是,兄弟节点可以通过任何Functoid混合创建,包括xslt。


 

Can i map 2 schemas :some of their elements using functoids and some using inline xslt  on the same map??

When i  tried to do that i started getting errors in the inline xslt telling me the destination node has invalid child elements .List of possible elements expected ...the elements following it ...i guess i have to map all the elements using inline xslt ...

To me it does not seem likely .. ..But please confirm ..

Thanks


usher A

解决方案

To answer the question I think you're asking, no, but...

If you're generating a node in custom xsl, that node and all child nodes must be generated by the xsl as well because there's no way to inject children from outside.

However, sibling nodes can be created by any mix of Functoids, includeing xslt.


这篇关于映射内联XSLT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆