PDA

View Full Version : Xml Connector, importing html links into text area component


caseyctg
09-25-2008, 08:21 PM
Hey All, I am trying to import my weblinks into a text area component. I am usingh xml connector to bind the data fields to the text area from a list component. Here is a picture of how I am trying to do it.

http://www.caseygovero.com/Picture%202.png

I am trying to write a string so that when the link is imported into the text area component, it is a live link, not just the url. SO I am trying to use compose string to write a formula persay to format the text upon import and add an html anchor link. Here is how I am trying to do it:

"<a href=\""+<Website>+" \">"+<Website>+"</a>";

something like that....only this doesn't work. Does anyone know how to write a string that will format the <Website> node in the xml and make it a live link?

caseyctg
09-25-2008, 10:11 PM
ok, so if I use this, with the formatter parameter turned to "none" it works.

<![CDATA[<A href="www.amemining.com">www.amemining.com</A>]]>

A link pops up and tried to redirect. Unfortunately, I don't want to format 250 xml records that way. I am the receiver of the xml doc, not the creator, so I would have to format each <Website>www.caseygovero.com<Website> into
that crazy mess above....not very time efficient. Anyone know how to use the component paramter "compose string" to write a literal string that will format the <Website> node into a live html link. Come on, I know someone out there gets what I am trying to do.