Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| syntax:scopes:pair-scope [2015/11/26 15:15] – [Extended Syntax] admin | syntax:scopes:pair-scope [2018/01/10 20:43] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 51: | Line 51: | ||
| ==== sent_start ==== | ==== sent_start ==== | ||
| + | Marks that tag can appear only in beginning of the " | ||
| + | |||
| + | |||
| Value: // | Value: // | ||
| Default: //false// | Default: //false// | ||
| ==== header ==== | ==== header ==== | ||
| + | Indicates that scope will start not directly after end of the open tag, but after " | ||
| + | |||
| + | |||
| Value: // | Value: // | ||
| Default: //false// | Default: //false// | ||
| Line 71: | Line 77: | ||
| ===== Extended Syntax ===== | ===== Extended Syntax ===== | ||
| - | Extended syntax can be used, if you want to define more than one close or middle tag. | + | Extended syntax can be used, if you want to define more than one close or middle tag -> in this case you can additional //Middle// or //Close// nodes inside of //Scope// node. You can use in-line and extended modes in same definition. |
| <code xml>< | <code xml>< | ||
| - | <Middle text=" | + | <Middle text=" |
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | Middle and Close tags defined in body of " | ||
| + | * **text** -> actual value of tag | ||
| + | * **strict** -> same as [[# | ||
| + | * **sent_start** -> same as [[# | ||
| + | * **lead** -> same as [[# | ||
| + | * **lead** -> same as [[# | ||