Newbies jverhei Posted March 24, 2005 Newbies Posted March 24, 2005 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.
Newbies jverhei Posted March 29, 2005 Author Newbies Posted March 29, 2005 Please help. This is very frustrating. Thanks.
Martin Brändle Posted March 29, 2005 Posted March 29, 2005 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="...
Recommended Posts
This topic is 7520 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now