Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQLServerCentral.com
»
Tag Issues with Content
»
How to show and HTML and XML code?
How to show and HTML and XML code?
Rate Topic
Display Mode
Topic Options
Author
Message
RBarryYoung
RBarryYoung
Posted Saturday, March 15, 2008 7:43 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Saturday, May 04, 2013 11:13 AM
Points: 9,855,
Visits: 9,374
Sometimes I want to post HTML or XML like code or I want to put certain kinds of arguments in so-called angle brackets, but I cannot seem to get it right. here is an example of the word 'name' surronded by angle brackets:
See, nothing shows, though it seems like I have seen greater-than and less-than signs in posted code?
Is there an escape character for this?
-- RBarryYoung
,
(302)375-0451
blog:
MovingSQL.com
, Twitter:
@RBarryYoung
Proactive
Performance Solutions, Inc.
"Performance is our middle name."
Post #469817
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Saturday, March 15, 2008 9:25 AM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 11:02 AM
Points: 31,410,
Visits: 13,725
Like this?
<name>
I've used the [ code ] [ / code ] tags from the shortlist for the code and then the "& l t ;" and the "& g t ;" shortcuts for the brackets.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #469837
Todd Engen
Todd Engen
Posted Saturday, March 15, 2008 11:31 AM
Ten Centuries
Group: General Forum Members
Last Login: Tuesday, May 07, 2013 11:02 AM
Points: 1,073,
Visits: 6,321
Or you could use online converters like these to generate the HTML.
http://www.string-functions.com/htmlencode.aspx
http://www.simple-talk.com/prettifier/default.php
Post #469880
RBarryYoung
RBarryYoung
Posted Saturday, March 15, 2008 7:32 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Saturday, May 04, 2013 11:13 AM
Points: 9,855,
Visits: 9,374
Great!
Thanks,
-- RBarryYoung
,
(302)375-0451
blog:
MovingSQL.com
, Twitter:
@RBarryYoung
Proactive
Performance Solutions, Inc.
"Performance is our middle name."
Post #469939
Matt Miller (#4)
Matt Miller (#4)
Posted Saturday, March 15, 2008 8:18 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 10:43 AM
Points: 6,997,
Visits: 13,942
Steve Jones - Editor (3/15/2008)
Like this?
<name>
I've used the [ code ] [ / code ] tags from the shortlist for the code and then the "& l t ;" and the "& g t ;" shortcuts for the brackets.
Just remember to use the correct IFCODE. Meaning [ CODE ] for code and XML, and QUOTE for text. The most recent iteration of IFCODE seems less tolerant of text in a CODE block, effectively blowing up the page width (as I found out a few days ago). It didn't seem quite so sensitive before (just have to break the habit I suppose).
----------------------------------------------------------------------------------
Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?
Post #469947
RBarryYoung
RBarryYoung
Posted Saturday, March 15, 2008 8:46 PM
SSCrazy Eights
Group: General Forum Members
Last Login: Saturday, May 04, 2013 11:13 AM
Points: 9,855,
Visits: 9,374
OK, thanks for the advice, matt.
-- RBarryYoung
,
(302)375-0451
blog:
MovingSQL.com
, Twitter:
@RBarryYoung
Proactive
Performance Solutions, Inc.
"Performance is our middle name."
Post #469950
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.