Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

  • Newbies
Posted

Hi,

I'm importing text via XML (through a hack, not through the regular FMP methods) in a way that can preserve the xml tags.

My question--and this would apply to importing HTML, tags intact--is whether there's a way to change these tags into formatting information that FMP would recognize. So that italics would be italics. Bold would be bold, etc...

The idea is that text that appears inside my text here could appear in italics.

Thanks for any help.

lmaury

Posted

I suppose you could try something like:

Evaluate (

Substitute ( Quote ( text ) ;

[ "" ; Quote ( " & TextStyleAdd ( " ) ] ;

[ "" ; Quote ( " ; italic ) & " ) ]

)

)

which can be extended to accomodate more styles, and even remove other coding as shown here.

That would work with very simple HTML - but I am afraid it takes more than a calculation to build a browser application.

This topic is 6569 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
×
×
  • Create New...

Important Information

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