Display XML without CSS and XSL

Z

Zhidian Du

Hello,

I have a program, whose output are XML files (at least 100 K) but
there is no the CSS file to control its display.

Is there any programs that can generate a CSS form these XML files?

How can I display it use browsers? I do not need perfect appearances,
but just let browser can display their basic hierarchical structures.

Thanks.

Zhidian Du
 
P

Peter Flynn

Zhidian said:
Hello,

I have a program, whose output are XML files (at least 100 K) but
there is no the CSS file to control its display.

Is there any programs that can generate a CSS form these XML files?

I don't know one, but it should be possible to write one that will keep
indenting for structure until it hits element types with mixed content,
then treat those as inline like paragraphs.

But if your XML is tabular data instead of normal text, you're stuck.
*You* have to supply the CSS to tell *it*, not the other way round.
How can I display it use browsers? I do not need perfect appearances,
but just let browser can display their basic hierarchical structures.

Open it in Emacs with psgml-mode and hit C-c C-q to reveal the structure
by indentation.

///Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top