December 29, 200619 yr 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
December 29, 200619 yr You could try to use the function GetAsCSS(text) to transfer the bold an italics texts into HTML tags. -jens
December 30, 200619 yr Author 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 December 30, 200619 yr by Guest
December 30, 200619 yr 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.
Create an account or sign in to comment