external entities, browsers, images

Shawn Modersohn

Usenet Archive
Joined
Apr 2, 2004
Messages
34
Reaction score
0
I got,

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Insert GPL copyright notice here -->
<!-- <?xml-stylesheet type="text/css" href="exhibits.css"?> --> <!DOCTYPE exhibits PUBLIC "-//ShawnModersohn.//DTD graphicalOpenExchange//EN" "exhibits.dtd"> <!-- Begin exhibit entity declarations --> <exhibits> &template; </exhibits>

exhibits.dtd pulls in parts from an exhibit.dtd. &template is declared in exhibits.dtd and represents many individual files describing images.

Seeing text output claiming validity is not as satisfying as seeing all the documents pulled together and displayed in a browser. This will primarily be a web application front end so I imagine I will go through an XSL process eventually. But in the meantime, are there any browsers or projects that display external entities as I am using them.

Also, I am using the html namespace to force the display of the gifs, pngs, etc. (which works as long as there are no external entities imported into the document) Is there a better way? Thanks for any help.
 

Shawn Modersohn

Usenet Archive
Joined
Apr 2, 2004
Messages
34
Reaction score
0
shawn modersohn said:
I got,

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Insert GPL copyright notice here -->
<!-- <?xml-stylesheet type="text/css" href="exhibits.css"?> --> <!DOCTYPE exhibits PUBLIC "-//ShawnModersohn.//DTD graphicalOpenExchange//EN" "exhibits.dtd"> <!-- Begin exhibit entity declarations --> <exhibits> &template; </exhibits>

exhibits.dtd pulls in parts from an exhibit.dtd. &template is declared in exhibits.dtd and represents many individual files describing images.

Seeing text output claiming validity is not as satisfying as seeing all the documents pulled together and displayed in a browser. This will primarily be a web application front end so I imagine I will go through an XSL process eventually. But in the meantime, are there any browsers or projects that display external entities as I am using them.

Also, I am using the html namespace to force the display of the gifs, pngs, etc. (which works as long as there are no external entities imported into the document) Is there a better way? Thanks for any help.

Well shit, I checked this out at a windows machine from work and I'll be damned if IE doesn't do exactly as I want. Sucks because I use Linux but nonetheless credit due to Microsoft on this one.

So the question now is, does anyone know of any linux solutions to this problem?
 

Henri Sivonen

Usenet Archive
Joined
Jul 22, 2001
Messages
150
Reaction score
0
Shawn Modersohn said:
So the question now is, does anyone know of any linux solutions to this problem?

Moving the processing (XML parsing & XSLT) to the server and sending the HTML output to the browser.
 

Shawn Modersohn

Usenet Archive
Joined
Apr 2, 2004
Messages
34
Reaction score
0
Henri Sivonen said:
Moving the processing (XML parsing & XSLT) to the server and sending the HTML output to the browser.

I haven't got quite that far, I was hoping for more of a client side solution. Might as well forge ahead though. Thanks.
 

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,049
Messages
3,104,245
Members
248,133
Latest member
DujonT

Latest Threads

Top