Closed Bug 133076 Opened 23 years ago Closed 23 years ago

xhtml <title> in xsl stylesheet not working

Categories

(Core :: XSLT, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: xkjyeah, Assigned: peterv)

Details

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) BuildID: 20020314 When using XSL on an XML page, I included XHTML in the output of XSL, in the form: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" > then I had: <html> <head> <title>blablabla</title> </head> <body> <xsl:apply-templates select="Class"/> </body> </html> The title "blablabla" should, but did not show up. Instead, the URL of the page did. Reproducible: Always Steps to Reproduce: [It is in the description] Actual Results: The title is still the URL of the page. Expected Results: It should make sure that the title in an XHTMl page in an XSL page shows up.
This is probably because it's not an HTML document....
Assignee: attinasi → sgehani
Status: UNCONFIRMED → NEW
Component: Layout → XP Apps
Ever confirmed: true
QA Contact: petersen → paw
Please attach a testcase. The title is not set by the front-end (expect for tabs when tabbrowing is being used). Suspect this will return to layout.
Attached file XSL Stylesheet
where the <title> tag is based
Attached file XML file
ML file where data is based
heikki, peterv, Does this go to layout? Thanks.
If something involves an XSLT stylesheet, try XSLT component first. Reassigning.
Assignee: sgehani → peterv
Component: XP Apps → XSLT
QA Contact: paw → kvisco
this is actually a WORKSFORME. I know we had some trouble with xhtml being the default namespace in a html template, which is a contraproductive thing to do if you want html output, but for this one, it just works. To whoever, if you file bugs on XSLT support, be sure to read http://www.mozilla.org/projects/xslt/, it gives you a few hints that make it easier for us. tested with a CVS build from today (or yesterday, hey, we're frozen *and* closed) Hrm. Is BirdInfo part of xhtml? I have to reread the spec ;-)
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: