I figured out answer my self.
*working example:*
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
xmlns:xs="
http://www.w3.org/2001/XMLSchema">
<xsl:output method="xml" indent="yes" />
<xsl:variable name="config" select="document('./configuration.xml')"/>
<xsl:variable name="children-grid">
<xsl:for-each select="/User/Children">
<children-grid>
<children-grid-iteration>
<child-date-of-birth><xsl:value-of
select="DateOfBirth"/></child-date-of-birth>
<child-us-citizen><xsl:value-of select="USCitizen"/></child-us-citizen>
<child-gender/>
<child-ssn/>
<child-first-name/>
<child-mi/>
<child-last-name/>
<child-suffix/>
</children-grid-iteration>
</children-grid>
</xsl:for-each>
</xsl:variable>
<xsl:template match="/">
<section-1>
<xsl:copy-of select="$children-grid">
</xsl:copy-of>
</section-1>
</xsl:template>
</xsl:stylesheet>
--
View this message in context:
http://discuss.orbeon.com/How-to-pre-populate-the-value-from-xslt-to-Orbeon-form-tp4660009p4660010.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.