Hello,
I am trying to include some
common information in xsp page through xml file. I used aggregator
like
<map:aggregate
element="newRootElement">
<map:part src="cocoon:/includeXML"
element="common"/>
<map:part src="cocoon:/WBookCurrency"
element="workarea"/>
</map:aggregate>
I am facing problem while
applying the xsl on this xml output...., bcoz output xml has <xsp:page>
tag inside it and I am not able to access xml elements after <xsp:page>
tag. I mean I am not able to access "newRootElement/workarea/createdBy" nor
"newRootElement/workarea/xsp:page/createdBy". Attached
is the xml output after aggregation for your reference.
I am struck due to this
problem, please help me....
Thanks,
Manish Jain
<?xml version="1.0"
encoding="UTF-8"?>
<newRootElement>
<common><commoninfo>
<windowtitle>
<text>
titletext
</text>
</windowtitle>
</commoninfo></common>
<createdBy>
<label>
<i18n:text>Created
By</i18n:text>
</label>
<value>
</value>
</createdBy>
<Amount>
<label>
<i18n:text>Amount</i18n:text>
</label>
<value>
</value>
</Amount>
</bookcur-queue>
</xsp:page></workarea></newRootElement>