Hi,
How can I define an external XML document in a XSL using the following
construct with OXF?
<xsl:apply-templates mode="applyTabsbar"
select="document('clientOrderSettingsTabs.xml')"/>
I tried the following as well
document('oxf:/clientOrderSettingsTabs.xml') -> XML is in the same folder as
XSL
document('oxf:/default/clientOrderSettingsTabs.xml') -> relative to
/WEB-INF/resources
because of this entry.
<context-param>
<param-name>oxf.resources.webapp.rootdir</param-name>
<param-value>/WEB-INF/resources</param-value>
</context-param>
All of them threw up with "File not found exception"
Basically I'm trying to access a XML in the same directory as XSL or is
there a way to define the XML segment within the XSL file like
<xsl:template match="/">
<tabs:tabsbar>
<tabs:tab>
<tabs:tabindex>4</tabs:tabindex>
<tabs:name>Cover Letter</tabs:name>
<tabs:url>/coverLetter</tabs:url>
</tabs:tab>
</tabs:tabsbar>
</xsl:template>
<xsl:template mode="applyTabsbar" match="/">
<xsl:call-template name="clientOrderSettingsTabsbar">
<xsl:with-param name="disable" select="false()"/>
<xsl:with-param name="selectedIndex" select="1"/>
</xsl:call-template>
</xsl:template>
Regards,
Kesara.
_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users