Syntax-Kamelon
view release on metacpan or search on metacpan
lib/Syntax/Kamelon/XML/xslt.xml view on Meta::CPAN
<item>string-to-codepoints</item>
<item>sequence-node-identical</item>
<item>hours-from-time</item>
<item>hours-from-dateTime</item>
<item>format-time</item>
<item>codepoints-to-string</item>
<item>trace</item>
<item>tokenize</item>
<item>subtract-dateTimes-yielding-yearMonthDuration</item>
<item>subsequence</item>
<item>seconds-from-dateTime</item>
<item>regex-group</item>
<item>one-or-more</item>
<item>node-name</item>
<item>namespace-uri-from-QName</item>
<item>min</item>
<item>idref</item>
<item>format-dateTime</item>
<item>format-date</item>
<item>days-from-duration</item>
<item>compare</item>
<item>base-uri</item>
<item>seconds-from-time</item>
<item>in-scope-prefixes</item>
<item>expanded-QName</item>
<item>adjust-date-to-timezone</item>
<item>year-from-date</item>
<item>resolve-QName</item>
<item>remove</item>
<item>QName</item>
<item>minutes-from-time</item>
<item>max</item>
<item>lower-case</item>
<item>index-of</item>
<item>doc</item>
<item>deep-equal</item>
<item>data</item>
<item>minutes-from-duration</item>
<item>adjust-dateTime-to-timezone</item>
<item>abs</item>
<item>timezone-from-dateTime</item>
<item>reverse</item>
<item>error</item>
<item>ends-with</item>
<item>day-from-dateTime</item>
<item>year-from-dateTime</item>
<item>upper-case</item>
<item>root</item>
<item>normalize-unicode</item>
<item>empty</item>
<item>insert-before</item>
<item>document-uri</item>
<item>adjust-time-to-timezone</item>
</list>
<contexts>
<context name="normalText" attribute="Normal Text" lineEndContext="#stay">
<StringDetect attribute="Comment" context="comment" String="<!--" beginRegion="comment"/>
<StringDetect attribute="CDATA" context="CDATA" String="<![CDATA[" beginRegion="cdata" />
<RegExpr attribute="Doctype" context="Doctype" String="<!DOCTYPE\s+" beginRegion="doctype" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:_-]*" beginRegion="pi" />
<DetectChar attribute="Tag" context="tagname" char="<" />
<RegExpr attribute="Entity Reference" context="#stay" String="&entref;" />
</context>
<context name="CDATA" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces />
<DetectIdentifier />
<StringDetect attribute="CDATA" context="#pop" String="]]>" endRegion="cdata" />
<StringDetect attribute="Entity Reference" context="#stay" String="]]&gt;" />
</context>
<context name="PI" attribute="Normal Text" lineEndContext="#stay">
<Detect2Chars attribute="Processing Instruction" context="#pop" char="?" char1=">" endRegion="pi" />
</context>
<context name="Doctype" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" endRegion="doctype" />
<DetectChar attribute="Doctype" context="Doctype Internal Subset" char="[" beginRegion="int_subset" />
</context>
<context name="Doctype Internal Subset" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char="]" endRegion="int_subset" />
<RegExpr attribute="Doctype" context="Doctype Markupdecl" String="<!(ELEMENT|ENTITY|ATTLIST|NOTATION)\b" />
<StringDetect attribute="Comment" context="comment" String="<!--" beginRegion="comment" />
<RegExpr attribute="Processing Instruction" context="PI" String="<\?[\w:_-]*" beginRegion="pi" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="Doctype Markupdecl" attribute="Normal Text" lineEndContext="#stay">
<DetectChar attribute="Doctype" context="#pop" char=">" />
<DetectChar attribute="Value" context="Doctype Markupdecl DQ" char=""" />
<DetectChar attribute="Value" context="Doctype Markupdecl SQ" char="'" />
</context>
<context name="Doctype Markupdecl DQ" attribute="Value" lineEndContext="#stay">
<DetectChar attribute="Value" context="#pop" char=""" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="Doctype Markupdecl SQ" attribute="Value" lineEndContext="#stay">
<DetectChar attribute="Value" context="#pop" char="'" />
<IncludeRules context="FindPEntityRefs" />
</context>
<context name="detectEntRef" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Entity Reference" context="#stay" String="&entref;" />
</context>
<context name="FindPEntityRefs" attribute="Normal Text" lineEndContext="#stay">
<RegExpr attribute="Entity Reference" context="#stay" String="&entref;" />
<RegExpr attribute="PEntity Reference" context="#stay" String="%&qname;;" />
<AnyChar attribute="Invalid" context="#stay" String="&%" />
</context>
<context name="tagname" attribute="Tag" lineEndContext="#stay">
<keyword attribute="XSLT Tag" context="xattributes" String="keytags" />
<keyword attribute="XSLT 2.0 Tag" context="xattributes" String="keytags_2.0" />
<RegExpr attribute="Attribute" context="attributes" String="\s*" />
<DetectChar attribute="Tag" context="#pop" char=">" />
</context>
<context name="attributes" attribute="Attribute" lineEndContext="#stay">
<Detect2Chars attribute="Tag" context="#pop#pop" char="/" char1=">" />
<DetectChar attribute="Tag" context="#pop#pop" char=">" />
<RegExpr attribute="Normal Text" context="attrValue" String="\s*=\s*" />
</context>
<context name="attrValue" attribute="Invalid" lineEndContext="#stay">
<Detect2Chars attribute="Invalid" context="#pop#pop#pop" char="/" char1=">" />
( run in 0.500 second using v1.01-cache-2.11-cpan-d7f47b0818f )