As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Error generating rendition using plantilla.html: freemarker.core.NonStringException: Error on line 3, column 6 in freemarker_template Expecting a string, date or number here, Expression factura.Cliente is instead a freemarker.ext.dom.NodeListModel
Error on line 3, column 6
<?xml version="1.0" standalone="yes"?> <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pr="http://www.alfresco.org/alfresco/pr" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" targetNamespace="http://www.alfresco.org/alfresco/pr" elementFormDefault="qualified"> <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element name="factura"> <xs:complexType> <xs:sequence> <xs:element name="Cliente" type="xs:string" minOccurs="0" /> <xs:element name="NifCliente" type="xs:string" minOccurs="0" /> <xs:element name="TelefonoCliente" type="xs:string" minOccurs="0" /> <xs:element name="NFactura" type="xs:int" minOccurs="0" /> <xs:element name="Concepto" type="xs:string" minOccurs="0" /> <xs:element name="FechaFactura" type="xs:date" minOccurs="0" /> <xs:element name="Importe" type="xs:float" minOccurs="0" /> </xs:sequence> </xs:complexType> </xs:element> </xs:choice> </xs:complexType> </xs:element> </xs:schema>
<#ftl ns_prefixes={"D":"http://www.alfresco.org/alfresco/pr"}> <html> <body> ${factura.Cliente} ${factura.NifCliente} ${factura.TelefonoCliente} ${factura.NFactura} ${factura.Concepto} ${factura.FechaFactura} ${factura.Importe} </body> </html>