Closed Bug 151161 Opened 23 years ago Closed 23 years ago

xsl does not render correctly

Categories

(Core :: XSLT, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: neil.walker, Assigned: peterv)

References

()

Details

The above xml with a simple stylesheet does not render - it only displays correctly in IE5.5 and above (NS is the same problem). I'm using release 1, candidate 1. The style sheet is rather simple: <?xml version="1.0" encoding="ISO-8859-1" ?> - <!-- Edited with XML Spy v4.2 --> - <HTML xmlns:xsl="http://www.w3.org/TR/WD-xsl"> - <BODY STYLE="font-family:Arial, helvetica, sans-serif; font-size:12pt; background-color:#EEEEEE"> - <xsl:for-each select="breakfast_menu/food"> - <DIV STYLE="background-color:teal; color:white; padding:4px"> - <SPAN STYLE="font-weight:bold; color:white"> <xsl:value-of select="name" /> </SPAN> - <xsl:value-of select="price" /> </DIV> - <DIV STYLE="margin-left:20px; margin-bottom:1em; font-size:10pt"> <xsl:value-of select="description" /> - <SPAN STYLE="font-style:italic"> ( <xsl:value-of select="calories" /> calories per serving) </SPAN> </DIV> </xsl:for-each> </BODY> </HTML>
Browser, not bugzilla
Assignee: myk → peterv
Component: User Interface → XSLT
Product: Bugzilla → Browser
QA Contact: matty → keith
Version: unspecified → other
Looks like I added a bug from the wrong page. I searched for this bug, didn't find it so clicked on add bug and it looks like it defaulted to Bugzilla - not really clear in the interface what piece of software you are writing a bug for. I assumed Mozilla.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Sorry, you are right. Apologies. But thanks for the XSL tutorial :) But I always thought the namespace was optional and not used as such.
verified per reporters comments
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.