Adrian,
You must use valid XML... try noresize="yes"
> scrolling="no" frameborder="0" noresize/>
-----Original Message-----
From: Adrian Geissel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 11:37 AM
To: [EMAIL PROTECTED]
Subject: [C1] Generating a HTML frameset using XML/XSLT
Hi,
We are just trying to put a dynamic frameset as the primary entry-point for
our application, and using all that we've learnt so far, we created an XSP
file with an associated stylesheet (included at the end of this mail). We
get an unusual SAX exception when accessing the frameset:
org.apache.cocoon.processor.ProcessorException: Could not associate
stylesheet to document: error reading
C:\tomcat\webapps\zdam\index2html.xsl: org.xml.sax.SAXParseException:
Attribute name "FRAME" must be followed by the '=' character.
Has someone come across this before or successfully implemented framesets?
All help is gladly accepted.
Thanks,
Adrian
Cocoon 1.8.2
Tomcat 2.3
Windows NT
=================================
XSP simply generates the following:
<mystuff:data frame-top="top.html" frame-sidebar="sidebar.html"
frame-main="main.html"/>
=================================
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:mystuff="mystuff.com"
>
<xsl:template match="mystuff:data">
<html>
<head>
<title></title>
</head>
<frameset rows="100,*">
<FRAME name="top" src="{@frame-top}" marginwidth="10"
marginheight="10" scrolling="no" frameborder="0" noresize/>
<frameset cols="140,*">
<frame name="side" src="{@frame-sidebar}" marginwidth="0"
marginheight="0" scrolling="no" frameborder="0" noresize/>
<frame name="main" src="{@frame-main}" marginwidth="0"
marginheight="0" scrolling="auto" frameborder="0"/>
</frameset>
</frameset>
</html>
</xsl:template>
</xsl:stylesheet>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>