Newbies lmaury Posted January 29, 2007 Newbies Posted January 29, 2007 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
comment Posted January 29, 2007 Posted January 29, 2007 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now