Hey,
I have just added an FAQ to the FAQ Forum, but looking at it now, I don't seem to see the XML that I put between the CODE tags.
http://www.vbforums.com/showthread.php?t=595883
Any idea what is going on?
Thanks
Gary
Printable View
Hey,
I have just added an FAQ to the FAQ Forum, but looking at it now, I don't seem to see the XML that I put between the CODE tags.
http://www.vbforums.com/showthread.php?t=595883
Any idea what is going on?
Thanks
Gary
OK... that's weird... because you can select "something" in those code blocks... but they appear to be spaces or something... because when I then copy and paste it into note pad, I get nothing.
When you edit the post, does the XML then show up?
-tg
Hey,
Yeah, I actually just checked that, and when I go to edit the post, I can see the XML.
I have done this a number of times in normal forums, and this hasn't caused a problem. The only difference I can see is that this forum allows full html markup, but I have chosen to not use this. Should I? And construct the post differently?
Gary
Beats me... this is the first time I've seen XML code go sideways.
-tg
Hmmm, not what I was hoping to hear :)
I will wait and see if anyone knows anything, otherwise, I will try editing the post to use html markup instead, and see if that works.
Thanks
Gary
If you change form [CODE] tags to [Highlight=vb.net] tags (as I did for you in the last block of your post) it works sort of okay.
would [highlight=xml] work? or what about the noparse tag?
-tg
It is due to HTML being enabled in that forum... and unfortunately NoParse doesn't help.
[highlight=xml] (or something similar, perhaps HTML) is likely to work.
Hey,
Ok, I thought that is what it would come down to. I will refactor the post later tonight if I get a second.
Thanks
Gary
I see all the code that was posted correctly and can paste it into note pad++. I don't know maybe Marty or Si changed it before I posted! :confused:
Yip, I edited it last night, but still not 100% happy with it. I was playing with CSAH:
http://copysourceashtml.codeplex.com/
To try and get a nicer looking post, since you have full HTML markup available in that thread. It works really well, but it generates a lot of characters, so I am going to have to split the post over multiple ones, so just trying to work out the best way of doing it.
Gary
Gary,
Have you tried using this formatter?
I copied the XML from your post and formatted it.
Interesting!!
I had read about this converter in the WPF/Silverlight forums, but I never thought to use it. The resulting output might well be shorter than the HTML that is currently being rendered. I will give this a try.
Thanks
Gary
Well you should!
Since I built it I am aware that there are one or too niggles in it but its about 98% correct for most XML based languages!
Hey,
Haven't had a chance to look at it yet, but I certainly will :)
Gary
Sorry to be late to the party, but for future reference, use < to escape the < symbol in the FAQ forum.
Hey,
Thanks for that, good to know!
Gary