将 xml 读取到 aleri 流中的源流

发布于 2024-09-18 09:49:04 字数 68 浏览 1 评论 0原文

如何将 xml 文件读取到 aleri 中的流。我如何在 aleri 中为具有嵌套元素的 xml 创建数据模型资源管理器。

How to read xml file to a stream in aleri. How i can create data model explorer in aleri for the xml which has nested elements.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

等风来 2024-09-25 09:49:04

您可以使用内置数据连接器之一(使用 sp_upload/sp_convert 或 sp_playback)导入平面 XML 文件。该文件需要采用以下格式:(

<StreamName column1="value" column2="value" />

如果您使用数据连接器,则流名称不必匹配。)

如果存在嵌套元素,则更加困难。您需要将文件作为文本文件推送并在模型中重建它,或者编写适配器。在这两种情况下,您都需要考虑如何在平面表结构中表示嵌套元素。

You can import a flat XML file using one of the built in data connectors, using sp_upload/sp_convert or sp_playback. The file needs to be in the following format:

<StreamName column1="value" column2="value" />

(The stream name does not have to match if you're using a data connector.)

Where there are nested elements it's harder. You'll either need to push the file in as a text file and reconstruct it in the model or write an adapter. In both cases you'll need to think about how you can represent the nested elements in a flat table structure.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文