1

Is there a way to use a "control" of some kind to add blocks out xsl code to an xsl file .

Example:

I frequently type these three lines of code:

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

could i turn this block into some tyope of control that i could access the attributes and filepath of the include through properties?

skaffman
  • 398,947
  • 96
  • 818
  • 769
Alex
  • 502
  • 6
  • 14
  • 1
    Do you want to output different `[filepath]`? From where do you get this information, input source, parameters? –  Feb 14 '11 at 19:22
  • Where are you trying to use this "control"? How would you use it? – John Saunders Feb 14 '11 at 20:21
  • @Alejandro the file path would be to an palin html file or .inc, usually for global navigation. I used visual studio snippets which is not exactly what I was looking for but will save time and keystrokes. – Alex Feb 14 '11 at 21:13

1 Answers1

0

May be this will help. XSL IMPORT

Mihir
  • 66
  • 6