Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-03-01 14:53:08
- joaocunhalopes
- New Member
- Registered: 2006-02-07
- Posts: 2
XML code in textpattern
I have a bunch of XML code that I would like to post in a article made with textpattern.
Here is an example:
There is some xml posted below this line but it does not appear.
<root>
<level value=“ALL” />
<appender-ref ref=“LogFileAppender” />
</root>
There is some xml posted above this line but it does not appear.
I can’t make this appear in textpattern. I tried the FAQ. No luck.
Any sugestion is welcome.
Txs.
John
Last edited by joaocunhalopes (2006-03-01 14:58:34)
Offline
#2 2006-03-01 15:06:30
- joaocunhalopes
- New Member
- Registered: 2006-02-07
- Posts: 2
Re: XML code in textpattern
Got it, I think.
I must use the pre and code tags.
Right?
John
Offline
Re: XML code in textpattern
<yes />
I’m not sure what the textile tag is to convert a block of text into something safe for the web, but for single lines of code you use “@”, and your angle brackets will get turned into the appropriate entity.
Last edited by ramanan (2006-03-01 15:24:20)
Offline
Pages: 1