House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

XML parsing & link underline

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hi,
Oðuz_Demirkapý
08/16/06 07:51 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
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Oðuz_Demirkapý
08/16/2006 07:51 PM

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ý

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Denny Valliant
08/16/2006 09:59 PM

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 -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
O?uz_Demirkap?
08/17/2006 03:07 PM

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 -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Denny Valliant
08/18/2006 12:42 AM

> 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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
O?uz_Demirkap?
08/18/2006 02:40 AM

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


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference