March 24, 200520 yr Newbies I'm having trouble figuring out how to import the value of a checkbox or radio button into a word document and have it apear as a checked checkbox in the word 2003 document. I'm new to XML and Filemaker and any help would be apreatiated. Here is a snipit of the XSLT code. --------------------------------- <w:fldChar w:fldCharType="begin"> (I think this is where the value of the check box is, starting at the <w:fldData> tag. This value changes when I modifiy the check box in the word documnet. But when I try to imort this value from filemaker it makes the document unreadable.) <w:fldData>/////wEAAAAUAAYAQwBoAGUAYwBrADUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</w:fldData> </w:fldChar> </w:r> <w:r> <w:rPr><w:b/><w:b-cs/></w:rPr> <w:instrText> FORMCHECKBOX </w:instrText> </w:r> <w:r> <w:rPr><w:b/><w:b-cs/></w:rPr> </w:r> <w:r> <w:rPr><w:b/><w:b-cs/></w:rPr> <w:fldChar w:fldCharType="end"/> </w:r> <w:r> <w:rPr><w:b/><w:b-cs/></w:rPr> <w:t> Yes </w:t> 'checkbox name </w:r> <w:r><w:rPr><w:b/><w:b-cs/></w:rPr> <w:fldChar w:fldCharType="begin"> <w:fldData>/////2UAAAAUAAYAQwBoAGUAYwBrADUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</w:fldData> </w:fldChar> </w:r> <w:r> <w:rPr><w:b/><w:b-cs/></w:rPr> <w:instrText> FORMCHECKBOX </w:instrText> </w:r> <w:r> <w:rPr><w:b/><w:b-cs/></w:rPr> </w:r> <w:r> <w:rPr><w:b/><w:b-cs/></w:rPr> <w:fldChar w:fldCharType="end"/> I've tried useing <xsl:value-of select="fmp:FMPXMLRESULT/fmp:RESULTSET/fmp:ROW/fmp:COL[9]/fmp:DATA"/> in the place of /////2UAAAAUAAYAQwBoAGUAYwBrADUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA, but it doesn't work. Again, I am new to FM Pro and XML so don't laugh at me. Thank you.
March 29, 200520 yr Sorry, this was a very short answer before, because I can't help you more and I don't think that this is a FM XML/XSLT problem. My answer should give a hint to you to download the Word 2003 XML Software Development Kit (SDK) from the URL above and try to figure out from the XML Schema what the different fields mean. Then you know exactly what you have to replace with your xsl:value-of select="...
Create an account or sign in to comment