📄 xsl stylesheet.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="<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!--xsl:output method="html" indent="yes"/-->
<xsl:template match="/">
<html><body><xsl:apply-templates/></body></html></xsl:template>
<xsl:template match="portfolio">
<table border="2" width="50%">
<xsl:for-each select="stock">
<tr>
<td>
<i><xsl:value-of select=
"symbol"/></i>
</td>
<td>
<xsl:value-of select="name"/>
</td>
<td>
<xsl:value-of select="price"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:template>
</xsl:stylesheet>
" 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="!"$%&'()*+,.;<=>@[\]^{|}~"/>
<SubRules>
<Range Name="Strings '..'" Style="Strings '..'">
<Attributes Foreground="clRed" Background="clWhite"/>
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
<OpenToken StartLine=""/>
<CloseToken StartLine=""/>
<Properties/>
<MultiTokens>
<Tokens Open="'" Close="'"/>
</MultiTokens>
<SubRules/>
</Range>
<Range Name="Strings &qt;..&qt;" Style="Strings &qt;..&qt;">
<Attributes Foreground="clRed" Background="clWhite"/>
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
<OpenToken StartLine=""/>
<CloseToken StartLine=""/>
<Properties/>
<MultiTokens>
<Tokens Open=""" Close="""/>
</MultiTokens>
<SubRules/>
</Range>
<Range Name="Remarks <!--..-->" Style="Remarks <!--..-->">
<Attributes Foreground="clNavy" Background="clWhite"/>
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
<OpenToken StartLine=""/>
<CloseToken StartLine=""/>
<Properties/>
<MultiTokens>
<Tokens Open="<!--" Close="-->"/>
</MultiTokens>
<SubRules/>
</Range>
<Range Name="XSL Header" Style="XSL Header">
<Attributes Foreground="clRed" Background="$0080FF80"/>
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
<OpenToken StartLine="" PartOfTerm="Left"/>
<CloseToken StartLine=""/>
<Properties/>
<MultiTokens>
<Tokens Open="<?xml" Close="?>"/>
</MultiTokens>
<SubRules/>
</Range>
<Range Name="XSL" Style="XSL">
<Attributes Foreground="clGreen" Background="clWhite"/>
<Delimiters Value="!"#$%&'()*+,./:;<=>?@[\]^`{|}~"/>
<OpenToken StartLine=""/>
<CloseToken StartLine=""/>
<Properties/>
<MultiTokens>
<Tokens Open="<xsl" Close=">"/>
</MultiTokens>
<SubRules>
<Range Name="Strings" Style="Strings">
<Attributes Foreground="clRed" Background="clWhite"/>
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
<OpenToken StartLine=""/>
<CloseToken StartLine=""/>
<Properties/>
<MultiTokens>
<Tokens Open=""" Close="""/>
</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="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
<OpenToken StartLine=""/>
<CloseToken StartLine=""/>
<Properties/>
<MultiTokens>
<Tokens Open="</xsl" Close=">"/>
</MultiTokens>
<SubRules/>
</Range>
<Range Name="Remarks <%..%>" Style="Remarks <%..%>">
<Attributes Foreground="$00A00000" Background="clWhite"/>
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
<OpenToken StartLine=""/>
<CloseToken StartLine=""/>
<Properties/>
<MultiTokens>
<Tokens Open="<%" Close="%>"/>
</MultiTokens>
<SubRules/>
</Range>
<Range Name="XSLT" Style="XSLT">
<Attributes Foreground="$000080FF" Background="clWhite"/>
<Delimiters Value="!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"/>
<OpenToken StartLine=""/>
<CloseToken StartLine=""/>
<Properties/>
<MultiTokens>
<Tokens Open="<fo:" Close=">"/>
</MultiTokens>
<SubRules/>
</Range>
<KeyList Name="HTML" Enabled="True" Style="" Words="<a>
<a
</a>
<abbr>
<abbr
</abbr>
<above>
<acronym>
<acronym
</acronym>
<address>
<address
</address>
<area
<b>
<b
</b>
<base
<bdo>
<bdo
</bdo>
<big>
<big
</big>
<blockquote>
<blockquote
</blockquote>
<body
<body>
</body>
<br
<button>
</button>
<caption>
<caption
</caption>
<cite>
<cite
</cite>
<code>
<code
</code>
<col
<colgroup>
</colgroup>
<dd>
<dd
</dd>
<del>
<del
</del>
<dfn>
<dfn
</dfn>
<div>
<div
</div>
<dl>
<dl
</dl>
<dt>
<dt
</dt>
<em>
<em
</em>
<fieldset>
<fieldset
</fieldset>
<font
</font>
<form>
<form
</form>
<frame
<frameset
</frameset>
<h1>
<h1
</h1>
<h2>
<h2
</h2>
<h3>
<h3
</h3>
<h4>
<h4
</h4>
<h5>
<h5
</h5>
<h6>
<h6
</h6>
<head>
<head
</head>
<hr
<html>
<html
</html>
<i>
<i
</i>
<iframe>
</iframe>
<ilayer>
</ilayer>
<img
<input
<ins>
<ins
</ins>
<isindex
<kbd>
<kbd
</kbd>
<label>
<label
</label>
<legend>
<legend
</legend>
<li>
<li
</li>
<link
<map
</map>
<meta
<noframes>
</noframes>
<noscript>
</noscript>
<object>
<object
<ol>
<ol
</ol>
<optgroup>
<optgroup
</optgroup>
<option>
<option
</option>
<p
<p>
</p>
<param
<pre>
<pre
</pre>
<q>
<q
</q>
<samp>
<samp
</samp>
<script
<script>
</script>
<select
</select>
<small>
<small
</small>
<span>
<span
</span>
<strong>
<strong
</strong>
<style>
<style
</style>
<sub>
<sub
</sub>
<sup>
<sup
</sup>
<table>
<table
</table>
<tbody>
<tbody
</tbody>
<td
<td>
</td>
<textarea
<textarea>
</textarea>
<tfoot>
<tfoot
</tfoot>
<th
<th>
</th>
<thead>
<thead
</thead>
<title>
</title>
<tr
<tr>
</tr>
<tt>
</tt>
<tt
<ul>
<ul
</ul>
<var>
</var>
<var
//
/>
>
">
<Attributes Foreground="clMaroon" Background="clWhite"/>
</KeyList>
</SubRules>
</MainRules>
</SyntaxColoring>
<CodeFolding/>
<CustomData/>
</SynUniHighlighter>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -