"token calm state endrootelement outcome an unfair xml document"
i'm observant difference summary opening xslcompiledtransform.transform(), nonetheless after doing difference xsl reconstruct still appears have successful. full difference summary is:
token calm state endrootelement
outcome an unfair xml
document. certain the
conformancelevel sourroundings set to
conformancelevel.fragment or
conformancelevel.auto wish to
an xml fragment.
the stylesheet looks this:
<xsl:stylesheet version="1.0" xmlns:ext="ext:extensions" xmlns:f="http://schemas.foo.com/foamschema">
<xsl:template match="/root/documents/po/dropship">
<transactions>
<transaction>
<f:partnertransmission>
<transmission_id>
<xsl:value-of select="ext:newguid()"/>
</transmission_id>
<partner_code>
<xsl:value-of select="/root/@partnercode"/>
</partner_code>
<control_nbr>
<xsl:value-of select="@gs_cntrl_num"/>
</control_nbr>
<creationtime>
<xsl:value-of select="ext:converttostandarddatetime(@date,@time,'iso8601basic')"/>
</creationtime>
<direction>i</direction>
<messagecount>
<xsl:value-of select="count(orders/order)"/>
</messagecount>
<syntax>xml</syntax>
<format>barbaz</format>
<deliverymethod>ftp</deliverymethod>
</f:partnertransmission>
</transaction>
</transactions>
</xsl:template>
</xsl:stylesheet>
the generated xml looks this:
<transactions xmlns="http://schemas.foo.com/integrationprofile" xmlns:ext="ext:extensions">
<transaction>
<f:partnertransmission xmlns:f="http://schemas.foo.com/foamschema">
<transmission_id>a5e0ec76-6c24-426b-9eb5-aef9c45d913f</transmission_id>
<partner_code>vn000033</partner_code>
<control_nbr>650</control_nbr>
<creationtime>9/27/2008 12:51:00 am</creationtime>
<direction>i</direction>
<messagecount>2</messagecount>
<syntax>xml</syntax>
<format>barbaz</format>
<deliverymethod>ftp</deliverymethod>
</f:partnertransmission>
</transaction>
</transactions>
the above i i locate replace exception.
i haven't means proceed set conformancelevel (the ability read-only), nonetheless during same i also don't cruise there should problem here anyway.
does cost consecrate an xml fragment? am i blank something stylesheet?
Comments
Post a Comment