Dispalying Code

admin

Administrator
Staff member
Can anyone help me out? I am trying to display dynamic xml code in a html page but, it keeps trying to use the code as part of the html instead of just displaying it. Are there tags I can throw around the code to tell the HTML that "this is code display as shown and don't use this" I tried <code> tags and <pre> tags but this didn't work. Any thoughts??? <br />
<br />
PS This is generated dynamic so I can't change the element tags.<!--content-->Change your < to < and your > to ><br />
<br />
[edit - just noticed that it is dynamically generated, so you may have to use something to replace them when it is generated]<!--content-->Actually found it :) use the <xmp> any code here </xmp> much easier then changing all the tags<!--content-->
 
Back
Top