XSLT 시스템 속성() 함수
❮ XSLT 기능 참조정의 및 사용
system-property() 함수는 이름으로 지정된 시스템 속성 값을 반환합니다.
XSLT 네임스페이스의 시스템 속성:
- xsl:version - 프로세서에 의해 구현된 XSLT 버전
- xsl:vendor - XSLT 프로세서 공급업체
- xsl:vendor-url - XSLT 프로세서의 공급업체를 식별하는 URL
통사론
object system-property(string)
매개변수
Parameter | Description |
---|---|
string | Required. Specifies the system property to return the value of |
실시예 1
<?xml version="1.0" encoding="UTF-8"?>
<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>
❮ XSLT 기능 참조