XSLT system-property() Function
ການກໍານົດແລະການນໍາໃຊ້
ພຽງແຕ່ system-property() Function ກັບຄຳອອກຂອງປະເພດລະບົບທີ່ອະທິບາຍໂດຍຊື່。
ປະເພດລະບົບໃນ XSLT Namespace:
ປະເພດລະບົບ | ການອະທິບາຍ |
---|---|
xsl:version |
ຈະສະເໜີຈຳນວນສະບັບເສັນທີ່ XSLT Processor ບໍລິຫານ XSLT Version; ຖ້າ XSLT Processor ບໍລິຫານ XSLT Version ທີ່ກໍານົດໃນເອກະສານນີ້ແມ່ນ 1。 |
xsl:vendor | ຜູ້ຜະລິດ XSLT Processor。 |
xsl:vendor-url | ຈະສະເໜີ URL ຂອງຜູ້ຜະລິດ XSLT Processor。 |
msxsl:version | ຈະສະເໜີຈຳນວນສະບັບເສັນຂອງ Microsoft XML Core Services (MSXML) ສະບັບທີ່ມີຢູ່。 |
ຄຼັກພາສາ
object system-property(string)
ກົດລະບຽບ
ກົດລະບຽບ | ການອະທິບາຍ |
---|---|
string | ສະບັບຕ້ອງການ。ກຳນົດປະເພດຂອງລະບົບທີ່ກັບຄືນຄືນຄວາມຄວາມສຳຄັນຂອງມັນ。 |
ບົດສະຫຼຸບ
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <html> <body> <p> Version: <xsl:value-of select="system-property('xsl:version')" /> <br /> Vendor: <xsl:value-of select="system-property('xsl:vendor')" /> <br /> Vendor URL: <xsl:value-of select="system-property('xsl:vendor-url')" /> </p> </body> </html> </xsl:template> </xsl:stylesheet>