| Problem with xsl:call-template | 16. February 2005 |
when using xsl:call-template, i cannot rewrite the place with new data | |
While answering a wrtie request on a place, i want to store some data in it. If my reply element is directly in the write template, everything is best. But when i make a new template with the reply element in it, using call-template to read it, the place doesn't change itself. this case is working: <xsl:template match="@request["read"]"> <mind:reply> <!--//New Document data here//--> <!--//Maybe some more mind here//--> </mind:reply> </xsl:template> this doesn't insert new data in the place: <xsl:template match="@request["read"]"> <xsl:call-template name="insertData"/> </xsl:template> <xsl:template name="insertData"> <mind:reply> <!--//New Document data here//--> <!--//Maybe some more mind here//--> </mind:reply> </xsl:template> Hope you can understand my problem and may be solve it. Thank you, Christian. | |
| Re: Problem with xsl:call-template | 18. February 2005 | |||||||