• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to title an XML document with CSS?

 
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm styling a plain XML document (not an XHTML document) with CSS and viewing the document in Firefox. All the internal layout of the document looks great, but my document has no title in the browser title bar.

Does anyone know how to give an XML document a title using CSS?

The title that I want is in the document itself, so it'll just be a matter of selecting it, but I don't know how to get it into the title bar.

Thanks,
Joshua Smith
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CSS can not do that and you are not using XSLT?

Eric
 
Joshua Smith
Ranch Hand
Posts: 193
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
XSLT is great. CSS is great too. Each have their place.

In this particular instance, I'm stuck with an XML document, a DTD and a CSS style sheet.

Thanks for the reply Eric.

Joshua Smith
 
reply
    Bookmark Topic Watch Topic
  • New Topic