Jump to content

How to keep formatted text when exporting to XML


jjulie
 Share

This topic is 5752 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi,

I'm very new to Filemaker and have no idea, if what I want to do it even possible, but I thought maybe someone here can help me ???-)

I want to export a filemaker database into an XML file and then use the XML to import information into a Flash file.

Some of the text is bold or in italics. How can I make sure the the formatting will be passed on to the XML file and then to the flash file?

Thanks

Julie

Link to comment
Share on other sites

  • Newbies

Hi Jens, danke fuer die schnelle Antwort ???-)

as I said I'm very new to Filemaker, do you think you could explain the steps a bit more in detail? Do I use this script when I export or do I use it on a datafield?

Thanks

Julia

Edited by Guest
Link to comment
Share on other sites

It is a function, so you could use it either within a field definition, or applied during a script, before an export. You cannot apply it during the Export script step itself; the [x] "Apply current layout's data formatting" (at the lower left) is for number and date (I think) formatting, not for text styles; and certainly not for CSS.

Used within a field definition, it could be used either as a calculation field, or as an auto-enter, with [ ] "Do not replace contents" unchecked. That way you could do any adjustments before exporting. Like removing the extra tags:

Some plain text, which nevertheless gets this unnecessary span tag

But, though somewhat sloppy CSS, it works and is not an error, so can be ignored.

Link to comment
Share on other sites

This topic is 5752 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

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