Xml 在外部应用primefaces样式<;xsl:template match="/&引用&燃气轮机;标签xls?

Xml 在外部应用primefaces样式<;xsl:template match="/&引用&燃气轮机;标签xls?,xml,xslt,primefaces,xslt-1.0,Xml,Xslt,Primefaces,Xslt 1.0,我遇到了一件有趣的事情,就是在之外应用样式 <?xml version = "1.0" encoding = "UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <ui:composition xmlns="http://www.w3.org/1999/xhtml

我遇到了一件有趣的事情,就是在
之外应用样式

<?xml version = "1.0" encoding = "UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
        <ui:composition xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
        xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui"
        template="/WEB-INF/template.xhtml">
<ui:define name="content">
          <p:tabView scrollable="true">
            <p:tab title="My Report">
                <h:panelGrid columns="2" cellpadding="5">
                    <xsl:apply-templates select="cd/title" />
                </h:panelGrid>
            </p:tab>


           </p:tabView> 
        </ui:define>
        </ui:composition>
</xsl:template>



<xsl:template match="messagetype">
 <p:panel header="Message Type">           **---->Trying to apply code for 
                                                 values it throws error p: is not bound**
   <span style="color:blue;">
        <xsl:value-of select="." />
    </span>
 </p:panel>
</xsl:template>

**---->正在尝试将代码应用于
它抛出的值错误p:未绑定**
如果我在
上面定义ui:comption,它会在xls中抛出错误

我现在有很多代码无法嵌套,比如在
中嵌套


移动命名空间声明,如
xmlns:p=”http://primefaces.org/ui“
xsl:stylesheet
元素。

除了xslt中的标记之外,这个PrimeFaces是如何关联的?