Εγχειρίδιο αναφοράς στοιχείων XSLT
- Πρόσβαση στην προηγούμενη σελίδα Στοιχεία Schema
- Πρόσβαση στην επόμενη σελίδα Λειτουργίες XSLT/XPath
Elements derived from the W3C recommendation (XSLT Version 1.0).
XSLT Elements
If you need more detailed information about the following elements, please click on the link in the element column.
Element | Description |
---|---|
apply-imports | Apply template rules from the imported style sheet. |
apply-templates | Apply a template to the current element or its child elements. |
attribute | Add an attribute to an element. |
attribute-set | Create a named attribute set. |
call-template | Call a specified template. |
choose | Used with <when> and <otherwise> to express multiple conditional tests. |
comment | Create a comment node in the result tree. |
copy | Create a copy of the current node (without child nodes and attributes). |
copy-of | Create a copy of the current node (with child nodes and attributes). |
decimal-format | Define the characters and symbols to be used when converting numbers to strings using the format-number() function. |
element | Create an element node in the output document. |
fallback | If the processor does not support a certain XSLT element, specify a fallback code to run. |
for-each | Iterate over each node in a specified node set. |
if | Include a template that is applied only when a specified condition is met. |
import | Used to pour the content of one style sheet into another style sheet. |
include | Include the content of one style sheet into another style sheet. |
key | Declare a named key. |
message | Write a message to the output (for error reporting). |
namespace-alias | Αντικατάσταση των ονομαστικών χώρων του στυλισμού με διαφορετικούς ονομαστικούς χώρους στην έξοδο. |
number | Μέτρηση της ακριβούς θέσης του τρέχοντος κόμβου και μορφοποίηση του αριθμού. |
otherwise | Ορίζει την προεπιλεγμένη ενέργεια του στοιχείου <choose>. |
output | Ορίζει τη μορφή του κειμένου της εξόδου. |
param | Δηλώνει τοπική ή γενική παράμετρο. |
preserve-space | Χρησιμοποιείται για να ορίσει τα στοιχεία που πρέπει να διατηρηθούν τα κενά. |
processing-instruction | Δημιουργία κόμβων οδηγιών. |
sort | Ταξινόμηση των αποτελεσμάτων. |
strip-space | Ορίζει τα στοιχεία που πρέπει να διατηρηθούν τα κενά. |
stylesheet | Ορίζει το ρίζα στοιχείο του στυλισμού. |
template | Οι κανόνες που εφαρμόζονται όταν ταιριάζει ο καθορισμένος κόμβος. |
text | Δημιουργεί κόμβους κειμένου μέσω του στυλισμού. |
transform | Ορίζει το ρίζα στοιχείο του στυλισμού. |
value-of | Εξάγει τη τιμή του επιλεγμένου κόμβου. |
variable | Δηλώνει τοπικές ή γενικές μεταβλητές. |
when | Ορίζει την ενέργεια του στοιχείου <choose>. |
with-param | Ορίζει τη τιμή του παραμέτρου που πρέπει να εισαχθεί σε κάποιο μοτίβο. |
- Πρόσβαση στην προηγούμενη σελίδα Στοιχεία Schema
- Πρόσβαση στην επόμενη σελίδα Λειτουργίες XSLT/XPath