AnsweredAssumed Answered

how to map data of multiple bodies in single html file???

Question asked by amitbhardwaj on Jul 15, 2008
Latest reply on Jul 17, 2008 by amitbhardwaj
hi friends
I have used xsd and xsl to create a webform. I have captured data using the web form, which gave me an HTML and an xml output. While capturing data in the webform which contains multi bodies, it shows data of the first body "only"   in html file.

my xsd files are
?xml version="1.0"?>

<xs:schema xmlns:xs=""

   <!– defines the form for creating a navigation hierarchy –>
   <xs:element name="Template1">
            <xs:element name="Description" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>

my xsl file
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xhtml=""
   xmlns:fn="" exclude-result-prefixes="xhtml">
   <xsl:output method="html" encoding="UTF-8" indent="yes"
      doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"

   <xsl:preserve-space elements="*"/>

   <xsl:template match="/">
                                        <xsl:for-each select="/nf:Template1/nf:Description">
         <td colspan="2">
            <xsl:value-of select="/nf:Template1/nf:Description" disable-output-escaping="yes"/>

thanks in advance