OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
error in xsl file can somebody help?
This page's ID:
25185
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
been doing on a ASP, XMl ,XSL project in my studies.. I got little knowledge on XSL so all my things are all read from book but i have encounter this error when i try to run this xsl file. this is the error The character '<' cannot be used in an attribute value. Error processing resource 'http://localhost/imported.xsl'. Line 7,... <html> --^ this is my xsl file. <?xml version="1.0"?> <xsl:stylesheet version ="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html"/> <xsl:template match="/'> <html> <body> <xsl:for-each select="//quiz|//concept|//topic|//level|//question"> <p> <xsl:apply-templates select="."/> </p> </xsl:for-each> </body> <html> </xsl:template> <xsl:template match="topic"> <xsl:text>True or False: </xsl:text><xsl:value-of select="."> </xsl:template> <xsl:template match="level"> <b><xsl:value-of select="name()"/>:</b> <br/> <xsl:value-of select="."/>:</b> </xsl:template> <xsl:template match="question"> <b><xsl:value-of select="name()"/>:</b> <br/> <xsl:value-of select="."/>:</b> </xsl:template> </xsl:stylesheet> Conny (confused) [small](Edited by [internallink=51]bitdamaged[/internallink] on 03-05-2005 07:12)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »