브라우저를 사용하여 XML (Google 크롬 또는 IE7)을 변환 할 때 URL을 통해 매개 변수를 XSLT 스타일 시트에 전달할 수 있습니까?브라우저를 사용하여 XML을 변환 할 때 URL을 통해 매개 변수를 XSLT로 전달할 수 있습니까?
예 :
인 data.xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="sample.xsl"?>
<root>
<document type="resume">
<author>John Doe</author>
</document>
<document type="novella">
<author>Jane Doe</author>
</document>
</root>
당신은 클라이언트 - 변환이 경우에도 XSLT 서버 측을 생성 할 수
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="html" />
<xsl:template match="/">
<xsl:param name="doctype" />
<html>
<head>
<title>List of <xsl:value-of select="$doctype" /></title>
</head>
<body>
<xsl:for-each select="//document[@type = $doctype]">
<p><xsl:value-of select="author" /></p>
</xsl:for-each>
</body>
</html>
</<xsl:stylesheet>
파트에만 가능 클라이언트 측입니다 다음과 같이
그리고 자바 스크립트 기능은 무엇입니까? – user9547