⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xsl stylesheet.xml

📁 SynEditStudio delphi 代码编辑器
💻 XML
字号:
<?xml version="1.0" encoding="windows-1251"?>
<SynUniHighlighter Version="2.0">
	<SyntaxColoring>
		<Info>
			<General Name="XSL stylesheet" Extensions="XSL XSLT" Version="1" Revision="0" Sample="&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; version=&quot;1.0&quot;&gt;
&lt;!--xsl:output method=&quot;html&quot; indent=&quot;yes&quot;/--&gt;
&lt;xsl:template match=&quot;/&quot;&gt;
  &lt;html&gt;&lt;body&gt;&lt;xsl:apply-templates/&gt;&lt;/body&gt;&lt;/html&gt;&lt;/xsl:template&gt;
&lt;xsl:template match=&quot;portfolio&quot;&gt;
   &lt;table border=&quot;2&quot; width=&quot;50%&quot;&gt;
     &lt;xsl:for-each select=&quot;stock&quot;&gt;
       &lt;tr&gt;
         &lt;td&gt;
           &lt;i&gt;&lt;xsl:value-of select=
           &quot;symbol&quot;/&gt;&lt;/i&gt;
         &lt;/td&gt;
       &lt;td&gt;
          &lt;xsl:value-of select=&quot;name&quot;/&gt;
        &lt;/td&gt;
       &lt;td&gt;
          &lt;xsl:value-of select=&quot;price&quot;/&gt;
       &lt;/td&gt;
        &lt;/tr&gt;
      &lt;/xsl:for-each&gt;
    &lt;/table&gt;
  &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;
" History=""/>
			<Author Name="Vitaly Nevzorov" Mail="nevzorov@yahoo.com" Web="www.delphist.com" Copyright="Copyright (c) Vitaly Nevzorov, 2002" Company="N/A" Remark=""/>
		</Info>
		<Schemes/>
		<Editor/>
		<MainRules Name="Root" Style="Root">
			<Attributes Foreground="clBlack" Background="clWhite"/>
			<Delimiters Value="!&quot;$%&amp;'()*+,.;&lt;=&gt;@[\]^{|}~"/>
			<SubRules>
				<Range Name="Strings '..'" Style="Strings '..'">
					<Attributes Foreground="clRed" Background="clWhite"/>
					<Delimiters Value="!&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^`{|}~"/>
					<OpenToken StartLine=""/>
					<CloseToken StartLine=""/>
					<Properties/>
					<MultiTokens>
						<Tokens Open="'" Close="'"/>
					</MultiTokens>
					<SubRules/>
				</Range>
				<Range Name="Strings &amp;qt;..&amp;qt;" Style="Strings &amp;qt;..&amp;qt;">
					<Attributes Foreground="clRed" Background="clWhite"/>
					<Delimiters Value="!&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^`{|}~"/>
					<OpenToken StartLine=""/>
					<CloseToken StartLine=""/>
					<Properties/>
					<MultiTokens>
						<Tokens Open="&quot;" Close="&quot;"/>
					</MultiTokens>
					<SubRules/>
				</Range>
				<Range Name="Remarks &lt;!--..--&gt;" Style="Remarks &lt;!--..--&gt;">
					<Attributes Foreground="clNavy" Background="clWhite"/>
					<Delimiters Value="!&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^`{|}~"/>
					<OpenToken StartLine=""/>
					<CloseToken StartLine=""/>
					<Properties/>
					<MultiTokens>
						<Tokens Open="&lt;!--" Close="--&gt;"/>
					</MultiTokens>
					<SubRules/>
				</Range>
				<Range Name="XSL Header" Style="XSL Header">
					<Attributes Foreground="clRed" Background="$0080FF80"/>
					<Delimiters Value="!&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^`{|}~"/>
					<OpenToken StartLine="" PartOfTerm="Left"/>
					<CloseToken StartLine=""/>
					<Properties/>
					<MultiTokens>
						<Tokens Open="&lt;?xml" Close="?&gt;"/>
					</MultiTokens>
					<SubRules/>
				</Range>
				<Range Name="XSL" Style="XSL">
					<Attributes Foreground="clGreen" Background="clWhite"/>
					<Delimiters Value="!&quot;#$%&amp;'()*+,./:;&lt;=&gt;?@[\]^`{|}~"/>
					<OpenToken StartLine=""/>
					<CloseToken StartLine=""/>
					<Properties/>
					<MultiTokens>
						<Tokens Open="&lt;xsl" Close="&gt;"/>
					</MultiTokens>
					<SubRules>
						<Range Name="Strings" Style="Strings">
							<Attributes Foreground="clRed" Background="clWhite"/>
							<Delimiters Value="!&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^`{|}~"/>
							<OpenToken StartLine=""/>
							<CloseToken StartLine=""/>
							<Properties/>
							<MultiTokens>
								<Tokens Open="&quot;" Close="&quot;"/>
							</MultiTokens>
							<SubRules/>
						</Range>
						<KeyList Name="Properties" Enabled="True" Style="" Words="apply-word-spacing
auto-restore
azimuth
background
background-attachment
background-color
background-image
background-position
background-repeat
baseline-shift
blank-page
block-progression-dimension
border
border-after-color
border-after-style
border-after-width
border-before-color
border-before-style
border-before-width
border-bottom
border-bottom-color
border-bottom-style
border-bottom-width
border-collapse
border-color
border-end-color
border-end-style
border-end-width
border-left
border-left-color
border-left-style
border-left-width
border-right
border-right-color
border-right-style
border-right-width
border-spacing
border-start-color
border-start-style
border-start-width
border-style
border-top
border-top-color
border-top-style
border-top-width
border-width
bottom
break-after
break-before
caption-side
case-name
case-title
character
clear
clip
color
column-count
column-gap
column-number
column-width
country
cue
cue-after
cue-before
destination-placement-offset
direction
dom-state
elevation
empty-cells
end-indent
ends-row
extent
external-destination
float
flow-name
font
font-family
font-height-override-after
font-height-override-before
font-size
font-size-adjust
font-stretch
font-style
font-variant
font-weight
force-page-count
format
glyph-orientation-horizontal
glyph-orientation-vertical
grouping-separator
grouping-size
height
href
hyphenate
hyphenation-character
hyphenation-keep
hyphenation-ladder-count
hyphenation-push-character-count
hyphenation-remain-character-count
id
indicate-destination
inhibit-line-breaks
initial-page-number
inline-progression-dimension
internal-destination
keep
keep-with-next
keep-with-previous
language
last-line-end-indent
leader-alignment
leader-length
leader-pattern
leader-pattern-width
left
letter-spacing
letter-value
linefeed-treatment
line-height
line-height-shift-adjustment
line-stacking-strategy
margin
margin-bottom
margin-left
margin-right
margin-top
master-name
max-height
maximum-block-progression-dimension
maximum-inline-progression-dimension
maximum-repeats
max-width
may-break-after-row
may-break-before-row
min-height
minimum-block-progression-dimension
minimum-inline-progression-dimension
min-width
number-columns-repeated
number-columns-spanned
number-rows-spanned
odd-or-even
orphans
overflow
padding
padding-after
padding-before
padding-bottom
padding-end
padding-left
padding-right
padding-start
padding-top
page-break-after
page-break-before
page-break-inside
page-height
page-position
page-width
pause
pause-after
pause-before
pitch
pitch-range
play-during
position
precedence
provisional-distance-between-starts
provisional-label-separation
reference-orientation
ref-id
region-name
richness
right
role
rule-style
rule-thickness
scale
score-spaces
script
show-destination
size
source-document
space-after
space-before
space-end
space-start
space-treatment
span
speak
speak-header
speak-numeral
speak-punctuation
speech-rate
start-indent
starting-state
starts-row
stress
suppress-at-eol
switch-to
table-layout
table-omit-footer-at-break
table-omit-header-at-break
text-align
text-align-last
text-decoration
text-indent
text-shadow
text-transform
top
unicode-bidi
vertical-align
visibility
voice-family
volume
white-space
white-space-collapse
white-space-treatment
widows
width
word-spacing
wrap-option
writing-mode
xmllang
z-index
">
							<Attributes Foreground="clBlue" Background="clWhite"/>
						</KeyList>
						<KeyList Name="Elements" Enabled="True" Style="" Words="apply-imports
apply-templates
attribute
attribute-set
call-template
choose
comment
copy
decimal-format
copy-of
element
fallback
for-each
if
import
include
key
message
namespace-alias
number
otherwise
output
param
preserve-space
processing-instruction
sort
strip-space
stylesheet
template
text
transform
value-of
variable
when
with-param
">
							<Attributes Foreground="$00FF0080" Background="clWhite"/>
						</KeyList>
						<KeyList Name="Values" Enabled="True" Style="" Words="above
absolute
after
all
alpabetic
always
any
auto
avoid
backslant
baseline
before
behind
below
bidi-override
blank
blink
bold
bolder
both
bottom
capitalize
caption
center
center-left
center-right
code
collapse
column
condensed
consider-shifts
continuous
dashed
digits
disregard-shifts
dots
dotted
double
embed
end
even
even-page
expanded
extra-condensed
extra-expanded
false
far-left
far-right
fast
faster
first
fixed
font-height
groove
hidden
hide
high
higher
icon
ignore
indefinite
inherit
inside
italic
justify
landscape
last
left
left-side
leftwards
level
lighter
line-height
line-through
loud
low
lower
lowercase
lr
lr-tb
ltr
max-height
medium
menu
message-box
middle
mix?
narrower
new
no
no-force
no-limit
no-repeat
no-wrap
nonblank
none
normal
nowrap
oblique
odd
odd-page
once
outside
overline
page
portrait
pre
preserve
reference-area
relative
repeat
repeat-x
repeat-y
repeat?
replace
rest
retain
ridge
right
right-side
rightwards
rl
rl-tb
rtl
rule
scroll
semi-condensed
semi-expanded
separate
show
slow
slower
small-caps
small-caption
soft
solid
space
spell-out
spread
start
static
status-bar
sub
super
suppress
tb
tb-rl
text-bottom
text-top
top
traditional
transparent
treat-as-space
true
ultra-condensed
ultra-expanded
underline
uppercase
use-content
use-font-metrics
visible
wider
wrap
x-fast
x-high
x-loud
x-low
x-slow
x-soft
xsl-any
xsl-following
xsl-preceding
xsl-region-after
xsl-region-before
xsl-region-body
xsl-region-end
xsl-region-start
yes
">
							<Attributes Foreground="$008000FF" Background="clWhite"/>
						</KeyList>
					</SubRules>
				</Range>
				<Range Name="/xsl" Style="/xsl">
					<Attributes Foreground="clGreen" Background="clWhite"/>
					<Delimiters Value="!&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^`{|}~"/>
					<OpenToken StartLine=""/>
					<CloseToken StartLine=""/>
					<Properties/>
					<MultiTokens>
						<Tokens Open="&lt;/xsl" Close="&gt;"/>
					</MultiTokens>
					<SubRules/>
				</Range>
				<Range Name="Remarks &lt;%..%&gt;" Style="Remarks &lt;%..%&gt;">
					<Attributes Foreground="$00A00000" Background="clWhite"/>
					<Delimiters Value="!&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^`{|}~"/>
					<OpenToken StartLine=""/>
					<CloseToken StartLine=""/>
					<Properties/>
					<MultiTokens>
						<Tokens Open="&lt;%" Close="%&gt;"/>
					</MultiTokens>
					<SubRules/>
				</Range>
				<Range Name="XSLT" Style="XSLT">
					<Attributes Foreground="$000080FF" Background="clWhite"/>
					<Delimiters Value="!&quot;#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^`{|}~"/>
					<OpenToken StartLine=""/>
					<CloseToken StartLine=""/>
					<Properties/>
					<MultiTokens>
						<Tokens Open="&lt;fo:" Close="&gt;"/>
					</MultiTokens>
					<SubRules/>
				</Range>
				<KeyList Name="HTML" Enabled="True" Style="" Words="&lt;a&gt;
&lt;a
&lt;/a&gt;
&lt;abbr&gt;
&lt;abbr
&lt;/abbr&gt;
&lt;above&gt;
&lt;acronym&gt;
&lt;acronym
&lt;/acronym&gt;
&lt;address&gt;
&lt;address
&lt;/address&gt;
&lt;area
&lt;b&gt;
&lt;b
&lt;/b&gt;
&lt;base
&lt;bdo&gt;
&lt;bdo
&lt;/bdo&gt;
&lt;big&gt;
&lt;big
&lt;/big&gt;
&lt;blockquote&gt;
&lt;blockquote
&lt;/blockquote&gt;
&lt;body
&lt;body&gt;
&lt;/body&gt;
&lt;br
&lt;button&gt;
&lt;/button&gt;
&lt;caption&gt;
&lt;caption
&lt;/caption&gt;
&lt;cite&gt;
&lt;cite
&lt;/cite&gt;
&lt;code&gt;
&lt;code
&lt;/code&gt;
&lt;col
&lt;colgroup&gt;
&lt;/colgroup&gt;
&lt;dd&gt;
&lt;dd
&lt;/dd&gt;
&lt;del&gt;
&lt;del
&lt;/del&gt;
&lt;dfn&gt;
&lt;dfn
&lt;/dfn&gt;
&lt;div&gt;
&lt;div
&lt;/div&gt;
&lt;dl&gt;
&lt;dl
&lt;/dl&gt;
&lt;dt&gt;
&lt;dt
&lt;/dt&gt;
&lt;em&gt;
&lt;em
&lt;/em&gt;
&lt;fieldset&gt;
&lt;fieldset
&lt;/fieldset&gt;
&lt;font
&lt;/font&gt;
&lt;form&gt;
&lt;form
&lt;/form&gt;
&lt;frame
&lt;frameset
&lt;/frameset&gt;
&lt;h1&gt;
&lt;h1
&lt;/h1&gt;
&lt;h2&gt;
&lt;h2
&lt;/h2&gt;
&lt;h3&gt;
&lt;h3
&lt;/h3&gt;
&lt;h4&gt;
&lt;h4
&lt;/h4&gt;
&lt;h5&gt;
&lt;h5
&lt;/h5&gt;
&lt;h6&gt;
&lt;h6
&lt;/h6&gt;
&lt;head&gt;
&lt;head
&lt;/head&gt;
&lt;hr
&lt;html&gt;
&lt;html
&lt;/html&gt;
&lt;i&gt;
&lt;i
&lt;/i&gt;
&lt;iframe&gt;
&lt;/iframe&gt;
&lt;ilayer&gt;
&lt;/ilayer&gt;
&lt;img
&lt;input
&lt;ins&gt;
&lt;ins
&lt;/ins&gt;
&lt;isindex
&lt;kbd&gt;
&lt;kbd
&lt;/kbd&gt;
&lt;label&gt;
&lt;label
&lt;/label&gt;
&lt;legend&gt;
&lt;legend
&lt;/legend&gt;
&lt;li&gt;
&lt;li
&lt;/li&gt;
&lt;link
&lt;map
&lt;/map&gt;
&lt;meta
&lt;noframes&gt;
&lt;/noframes&gt;
&lt;noscript&gt;
&lt;/noscript&gt;
&lt;object&gt;
&lt;object
&lt;ol&gt;
&lt;ol
&lt;/ol&gt;
&lt;optgroup&gt;
&lt;optgroup
&lt;/optgroup&gt;
&lt;option&gt;
&lt;option
&lt;/option&gt;
&lt;p
&lt;p&gt;
&lt;/p&gt;
&lt;param
&lt;pre&gt;
&lt;pre
&lt;/pre&gt;
&lt;q&gt;
&lt;q
&lt;/q&gt;
&lt;samp&gt;
&lt;samp
&lt;/samp&gt;
&lt;script
&lt;script&gt;
&lt;/script&gt;
&lt;select
&lt;/select&gt;
&lt;small&gt;
&lt;small
&lt;/small&gt;
&lt;span&gt;
&lt;span
&lt;/span&gt;
&lt;strong&gt;
&lt;strong
&lt;/strong&gt;
&lt;style&gt;
&lt;style
&lt;/style&gt;
&lt;sub&gt;
&lt;sub
&lt;/sub&gt;
&lt;sup&gt;
&lt;sup
&lt;/sup&gt;
&lt;table&gt;
&lt;table
&lt;/table&gt;
&lt;tbody&gt;
&lt;tbody
&lt;/tbody&gt;
&lt;td
&lt;td&gt;
&lt;/td&gt;
&lt;textarea
&lt;textarea&gt;
&lt;/textarea&gt;
&lt;tfoot&gt;
&lt;tfoot
&lt;/tfoot&gt;
&lt;th
&lt;th&gt;
&lt;/th&gt;
&lt;thead&gt;
&lt;thead
&lt;/thead&gt;
&lt;title&gt;
&lt;/title&gt;
&lt;tr
&lt;tr&gt;
&lt;/tr&gt;
&lt;tt&gt;
&lt;/tt&gt;
&lt;tt
&lt;ul&gt;
&lt;ul
&lt;/ul&gt;
&lt;var&gt;
&lt;/var&gt;
&lt;var
//
/&gt;
&gt;
">
					<Attributes Foreground="clMaroon" Background="clWhite"/>
				</KeyList>
			</SubRules>
		</MainRules>
	</SyntaxColoring>
	<CodeFolding/>
	<CustomData/>
</SynUniHighlighter>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -