Hi,

Can anybody give me a hint what I could be doing wrong ? Or should
I open a case at Jira for this ? 

> I have the following xsl document:
> 
> ....
> <xsl:variable name="testvar" >
> <test>
>         <subtest/>
> </test>
> </xsl:variable>                                           
> ....
> 
> I added a tracer object and in de trace event I have the 
> following code:
> 
> ElemVariable elv 
> =ev.m_styleNode.getStylesheetRoot().getVariableOrParamComposed
> (new QName("testvar"));
> if ( elv != null) {
>       int sourceNode = 
> ev.m_processor.getXPathContext().getCurrentNode();
>       XObject var = elv.getValue(ev.m_processor, sourceNode);
>       if ( var instanceof XRTreeFrag) {
>               XRTreeFrag tf = (XRTreeFrag) var;
>               String outputString = tf.str();
>       }             
> }
> 
> It reaches the tf.str() statement is reached as expected but 
> the outputString is empty. Can anybody tell me what is going 
> wrong ? How can I get a string representation of the XRTreeFrag ? 
> 
> Kind regards,
> Marco Laponder
> [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to