|
Posted by Rik Wasmus on 01/31/08 13:28
On Thu, 31 Jan 2008 07:06:41 +0100, <cmk128@hotmail.com> wrote:
> On 1月29日, 下午8時51分, Iván Sánchez Ortega <ivansanchez-...@rroba-
> escomposlinux.-.punto.-.org> wrote:
>> cmk...@hotmail.com wrote:
>> > Is the "xml viewer" for php available? I want to collapse/expand
>> > the xml tag.
>>
>> WTF?
>>
>> Please explain yourself further.
>>
>> --
>> ----------------------------------
>> Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
>>
>> El odio es un lastre. La vida es demasiado corta como para estar siempre
>> cabreado.
>> -- Danny (American
>> History X,
>> 1998)
>
> Hi
> I want to display a xml in a better way.
> thanks
> from Peter
What is your intended audience? If it's just for you or developers, any
developer can use his or her prefered editor, which usually should have no
problem opening XML files from different streams like http:// or ftp://
etc.
Just showing static XML in HTML can offcourse be done with wellformed XML,
a <pre> block, and htmlspecialchars().
If you want to show expanding/folding XML, perhaps even with some coloring
of tags/attributes etc, then it would be a problem yes. It could be that
Geshi can do this, <http://qbnz.com/highlighter/>, haven't checked though.
--
Rik Wasmus
Navigation:
[Reply to this message]
|