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 :

*<exemple>exemple1</exemple><exemple>exemple2</exemple>*

How can I get a correct XML part ?

Thanks,

-- 
Anas EL HAJJAJI
Ingénieur Étude et Développement
Sagem Sécurité Maroc
[ENSIAS'08]

Reply via email to