|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
XML parsing & link underline
Hi,Oðuz_Demirkapý 08/16/06 07:51 P Yeesh... not sure, but maybe it's PPT itself adding the link?Denny Valliant 08/16/06 09:59 P Ok. Some more info:O?uz_Demirkap? 08/17/06 03:07 P > Ok. Some more info:Denny Valliant 08/18/06 12:42 A Thanks Denny for your suggestions.O?uz_Demirkap? 08/18/06 02:40 A Hi, I have a CF project where I parse an XML document by a Java based tool and generate a PPT file. I need to show underline for a link now and I have a syntax as <u>www.mydomain.com</u> in my XML file. But it displays as <u>www.mydomain.com</u> in output. I guess this is an issue on my Java code but I remember same kind of problems on Flash & XML combination. Do you have any experience something like that? Any tip would be appreciated? Sincerely, Oðuz Demirkapý Yeesh... not sure, but maybe it's PPT itself adding the link? Most of these new fangled apps automagically transform them to "real" links... Dont' know, really... are you building the PPT using a .HTM file and renaming it, or a similar method? Or do you have an app for PPT generation? Check it's docs, if so, or PPT docs, else. Maybe. Not sure exaclty what is being asked. :D ----- Excess quoted text cut - see Original Post for more ----- Ok. Some more info: We have a Java tool which uses Aspose.Slides component (http://www.aspose.com/Products/Aspose.Slides/) to generate PPT file. We have an XML file for slide content. There is a link in content and we need to force this link as link also in PPT file. When I use a syntax as <a href='http://www.mydomain.com' target='_blank'>www.mydomain.com</a> I get all HTML link as <a href='http://www.mydomain.com' target='_blank'>www.mydomain.com</a> text instead of a link in PPT. This is my problem and as I let you know before there was same kind of problem while working with XML & Flash and I thought that a simple trick would be helpful. Sincerely, O?uz Demirkap? Yeesh... not sure, but maybe it's PPT itself adding the link? Most of these new fangled apps automagically transform them to "real" links... Dont' know, really... are you building the PPT using a .HTM file and renaming it, or a similar method? Or do you have an app for PPT generation? Check it's docs, if so, or PPT docs, else. Maybe. Not sure exaclty what is being asked. :D ----- Excess quoted text cut - see Original Post for more ----- > Ok. Some more info: > > We have a Java tool which uses Aspose.Slides component ( > http://www.aspose.com/Products/Aspose.Slides/) to generate PPT file. Here is a link for doing it via java: http://www.aspose.com/Community/forums/ShowPost.aspx?PostID=54158 We have an XML file for slide content. There is a link in content and we > need to force this link as link also in PPT file. The only way I can think of doing it via XML is with a CDATA tag. Don't know if that would work or not. Maybe something like: <![CDATA[the unescaped text & the link like <a href=" http://www.yourdomain.com" target="_blank" alt="link to yourdomain">]]> Again, not sure if that is kosher or not... just a random guess... Kindest, :Denny Thanks Denny for your suggestions. I have found that there is no default way to use HTML tags in this component. You can see a forum entry about this opportunity via following link. http://www.aspose.com/Community/forums/thread/41188.aspx The only way to have such objects in PPT file is having a special parser in order to get from XML syntax. Now I need to check our Java tool in case of having such an opportunity. Thanks again. Sincerely, O?uz Demirkap? > > Ok. Some more info: > > We have a Java tool which uses Aspose.Slides component ( > http://www.aspose.com/Products/Aspose.Slides/) to generate PPT file. Here is a link for doing it via java: http://www.aspose.com/Community/forums/ShowPost.aspx?PostID=54158 We have an XML file for slide content. There is a link in content and we > need to force this link as link also in PPT file. The only way I can think of doing it via XML is with a CDATA tag. Don't know if that would work or not. Maybe something like: <![CDATA[the unescaped text & the link like <a href=" http://www.yourdomain.com" target="_blank" alt="link to yourdomain">]]> Again, not sure if that is kosher or not... just a random guess... Kindest, :Denny
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||