N
Nick Head
I have an applicaiton that renders forms into XHTML outside of Infopath e.g.
the user fills out the forms in IP then they are saved and rendered for the
web. Users have now started using some more advanced functionality including
the conditional formatting. They check to see if a data field matches a
particular custom pattern and if not, doesn't display it on the view.
The problem comes about when I transform the form XML against the downlevel
XSLT using MSXML 4.0.
The relevant XSLT is:
<xsl:if test="function-available('xdXDocument:GetDOM')">
<xsl:attribute name="style">
<xsl:choose>
<xsl:when test="not(xdUtil:Match(string(my
roportion),
".*\d.*"))">DISPLAY: none</xsl:when>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select="../my:unit"/>
</xsl:if>
I did a test and it seems that function-available('xdXDocument:GetDOM')
always returns false. How do I ensure that this stylesheet with the Match()
function is going to be available when I transform this form?
Thanks
Nick
the user fills out the forms in IP then they are saved and rendered for the
web. Users have now started using some more advanced functionality including
the conditional formatting. They check to see if a data field matches a
particular custom pattern and if not, doesn't display it on the view.
The problem comes about when I transform the form XML against the downlevel
XSLT using MSXML 4.0.
The relevant XSLT is:
<xsl:if test="function-available('xdXDocument:GetDOM')">
<xsl:attribute name="style">
<xsl:choose>
<xsl:when test="not(xdUtil:Match(string(my
".*\d.*"))">DISPLAY: none</xsl:when>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select="../my:unit"/>
</xsl:if>
I did a test and it seems that function-available('xdXDocument:GetDOM')
always returns false. How do I ensure that this stylesheet with the Match()
function is going to be available when I transform this form?
Thanks
Nick