Display XML without CSS and XSL

Zhidian Du

Usenet Archive
Joined
Nov 25, 2003
Messages
6
Reaction score
0
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
 

Peter Flynn

Usenet Archive
Joined
Jan 2, 2000
Messages
1,813
Reaction score
0
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

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,799
Members
249,594
Latest member
henrywalsh

Latest Threads

Top