June 17, 2009 at 1:00 pm
Hi
How to convert XML data field to string / text.
Example: data is stored in the field is:
Test Ticket
Thank you,
Regards
Thank you,
Regards
Vijji
June 17, 2009 at 1:34 pm
June 17, 2009 at 1:36 pm
It has to be in the Text format.
I need to display this field in SRS report without XML tags.
Thank you,
Regards
Vijji
June 17, 2009 at 2:09 pm
It looks a little more like HTML file rather than XML structure.
That's a slightly different story...
You might want to have a look at the following article:
June 17, 2009 at 2:39 pm
Thx for the reply.
Now it removes the tags.
Now it looks like this:
Test ticket Thank you, Regards
'&' represents next line, those still remains.
Thx
Regards
Vijji
June 17, 2009 at 2:58 pm
Well, I just used "strip html" as search criteria on this forums search box. So, no big deal. 😉
Sometimes it's just a matter of finding/knowing the right search string to get the right answer...
June 17, 2009 at 9:08 pm
This is probably more a question than it is an answer but, if the data is stored in an xml data type what stops you from just using any one of the xml data type methods to retrieve whatever values you want from your xml?
Chim Kalunta
June 18, 2009 at 6:03 am
The data as provided in the original post is in html format rather than xml type.
The xml type gives you a data structure whereas html usually includes format information as well (e.g. for text in bold style).
You'd need two different versions of receiving the value for the text depending on the format ( text here had to be queried different than text here ).
June 18, 2009 at 8:48 am
ah right. Thanks for clearing that up, Lutz.
Chim Kalunta
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply