Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help with XSLT to word checkbox problem

Featured Replies

  • 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.

  • Author
  • Newbies

Please help. This is very frustrating.

Thanks.

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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.