Hi,

My problem is :

In a XSL file I make a call to an external function :

<xsl:value-of select="external:ListToXML()"/>

The function ListToXML() is like thatt :

XObjectPtr NGATranslatorXSLFunctionListToXML::execute(
        XPathExecutionContext&       io__executionContext,
        XalanNode*                   io__context,
        const XObjectArgVectorType&  i__args,
        const LocatorType*           i__locator) const
{
    string l__xml;
    
    l__xml = "<exemple>exemple1</exemple><exemple>exemple2</exemple>";
     
    return io__executionContext.getXObjectFactory().createString(
                                                    XalanDOMString(
                                                            l__xml.c_str())
                                                            );
}


What I get in output (after transformation) is a XML part like that :

&lt;exemple&gt;exemple1&lt;/exemple&gt;&lt;exemple&gt;exemple2&lt;/exemple&gt;

How can I get a correct XML part ?

Thanks,
-- 
View this message in context: 
http://www.nabble.com/XML-as-an-output-in-a-xalan-external-function-tp19178519p19178519.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.

Reply via email to