Re: xmlapache supports?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-08-19 at 11:10 -0700, chloe K wrote: 
> Do you know the apache coming from fedora to support xml?

In what way do you mean?  Serving an XML file as a webpage, in the same
way that a HTML file would have traditionally been used?

Then, yes.  Just author your file correctly, and serve it.

You may have to use specific filename suffixes to serve out your files
with the right MIME types (e.g. ".xml", or ".xhtml" if you really mean
XHTML rather than XML).  Or you can reconfigure the server to follow
your preferred method of naming files.

If actually serving XML, you also need to correctly make use of CSS
files for rendering.  Serving XML isn't something I've looked at for
ages (since the world's most common browser is crap at XHTML and XML,
there's little point in using it for the general public), so I don't
recall the techniques off hand.  But it's different from HTML and XHTML
with CSS, and far less tolerant of bad authoring.

If you mean using an XML file as a source for creating HTML webpages,
that's a different technique, and do-able, too.  I have even less
recollection about doing that.  But my observations of using one
language to create another noticed that it makes bastard HTML, because
two different languages do different things, careful translation is
needed, and some features just don't transfer.  e.g. After FrontPage
garbage, DocBook has produced some of the crappest machine-generated
HTML I've ever seen.

> how can I check?

Try it...

-- 
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux