Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

How to show and HTML and XML code? Expand / Collapse
Author
Message
Posted Saturday, March 15, 2008 7:43 AM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Friday, March 28, 2014 2:25 PM
Points: 9,902, Visits: 9,479
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
Posted Saturday, March 15, 2008 9:25 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 1:49 PM
Points: 32,768, Visits: 14,929
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
Posted Saturday, March 15, 2008 11:31 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, November 12, 2013 8:44 AM
Points: 1,073, Visits: 6,334
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
Posted Saturday, March 15, 2008 7:32 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Friday, March 28, 2014 2:25 PM
Points: 9,902, Visits: 9,479
Great!

Thanks,


-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung
Proactive Performance Solutions, Inc.
"Performance is our middle name."
Post #469939
Posted Saturday, March 15, 2008 8:18 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 7:33 AM
Points: 7,081, Visits: 14,672
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
Posted Saturday, March 15, 2008 8:46 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Friday, March 28, 2014 2:25 PM
Points: 9,902, Visits: 9,479
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 »

Add to briefcase

Permissions Expand / Collapse