Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
How to Load DCR another DCR in XSL PT and read the content ?
Migrateduser
Hi All,
I was away from teamsite for some time. It feels good to do Teamsite development. Anyway, I want to load a DCR into XSL PT and read the content of that DCR for generating the target HTML.
Like we have tag in the perl based PT -
<iw_load_dcr var="dcrpath" file="templatedata/MySite/MyDataType/data/Testing.dcr" global="t" />
and use this variable to read the content of the DCR. Anyone know anything like this in XSL.
I have tried bellow,
but it is not wroking -
<xsl:variable name="dcrpath">
Y:/default/main/ExternalSite/en_US_Branch/WORKAREA/Development/templatedata/MySite/MyDataType/data/Testing.dcr
</xsl:variable>
<xsl:value-of select="document($dcrpath)/Header/headerNav" />
Where am I going wrong ? Is there anyother option ?
Environment
:
Teamsite 6.7.2
OS
:
Windows 2003
Note :
I am not using any component or Java code for creating the external or something like that. It's just a simple the XSL that I want to use as PT.
Find more posts tagged with
Comments
There are no comments yet