【问题标题】:Custom Control for XSL editing/development C# Visual Studio 2010用于 XSL 编辑/开发的自定义控件 C# Visual Studio 2010
【发布时间】:2011-02-14 18:53:32
【问题描述】:

有没有办法使用某种“控件”将 xsl 代码块添加到 xsl 文件中。

例子:

我经常打这三行代码:

<xsl:comment> some custom attributes and values here </xsl:comment>
<xsl:comment>#include virtual="[filepath]" </xsl:comment>
<xsl:comment> end custom tags </xsl:comment>

我可以把这个块变成某种类型的控制,我可以通过属性访问包含的属性和文件路径吗?

【问题讨论】:

  • 你想输出不同的[filepath]吗?您从哪里获得这些信息、输入源、参数?
  • 你想在哪里使用这个“控件”?你会如何使用它?
  • @Alejandro 文件路径将是一个 palin html 文件或 .inc,通常用于全局导航。我使用了 Visual Studio sn-ps,这不是我想要的,但可以节省时间和击键。

标签: c# visual-studio-2010 controls xslt-tools


【解决方案1】:

这可能会有所帮助。 XSL IMPORT

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-04-30
    • 2011-06-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-05
    • 1970-01-01
    相关资源
    最近更新 更多