为什么我无法在 Expression Blend 3 中添加 XML 数据源?

发布于 2024-07-19 05:37:44 字数 459 浏览 5 评论 0原文

  • 我正在使用 Expression Blend 3
  • 我单击
  • URL 中的“添加实时数据源”、“添加新 xml 数据源”副本,
  • 但“确定”按钮保持空白

添加本地 XML 数据源文件工作正常

如何添加 URL 数据源在表达式混合 3 中?

这对其他人有效吗?

问题出在我在任何计算机上安装的每台 Expression Blend 3 上,似乎很容易在测试版中关闭。

替代文本 http://tanguay.info/web/external/blenddataokbutton.png

  • I'm using Expression Blend 3
  • I click on "add live datasource", "add new xml datasource"
  • copy in a URL
  • but the OK button remains blank

adding a local XML datasource file works fine

How can I add a URL datasource in expression blend 3?

does this work for anyone else?

The problem is on every Expression Blend 3 I install on any computer, seems to simple be turned off in the beta.

alt text http://tanguay.info/web/external/blenddataokbutton.png

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

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

发布评论

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

评论(2

楠木可依 2024-07-26 05:37:44

我刚刚尝试使用 Blend 1.0。 该版本还有其他选项,例如“推断 xml 架构”。

我的猜测是,在以后的版本中添加了一些检查,以确保指向的文件具有扩展名。

我的建议是直接编辑xaml。 请注意,这是来自 Blend 1.0 的旧 XAML:

<Window.Resources>
    <XmlDataProvider x:Key="rssDS" d:IsDataSource="True" Source="http://www.tanguay.info/web/rss/"/>
</Window.Resources>

希望有帮助,请告诉我。

I just tried using blend 1.0. This version also had other options, such as 'infer xml schema'.

My guess is that there was some check added in later version to ensure that the file pointed to has an extension.

My suggestion is to edit the xaml directly. Note, this is old XAML from blend 1.0:

<Window.Resources>
    <XmlDataProvider x:Key="rssDS" d:IsDataSource="True" Source="http://www.tanguay.info/web/rss/"/>
</Window.Resources>

Hope that helps, let me know.

尽揽少女心 2024-07-26 05:37:44

当我尝试从 XML 文件重新导入示例数据时,我遇到了同样的问题。 数据源已经存在或者至少 Blend 认为它仍然存在。 如果将鼠标悬停在“数据源名称”文本框上,您应该会看到一条警告。

从“数据”选项卡中删除数据源。
删除项目视图中的文件夹。
重建项目。
如果这不能清除它,请重新启动 Blend。

这就是我必须做的。 我有 Expression 4.0 Ultimate。

I ran into the same problem when I tried to reimport a sample data from an XML file. The data source already exists or at least Blend thinks it still exists. You should see a warning if you mouse-over the Data Source Name textbox.

Delete the data source from the Data tab.
Delete the folder in the project view.
Rebuild the project.
If that doesn't clear it out, restart Blend.

That's what I had to do. I have Expression 4.0 Ultimate.

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