You're problem is that the XSL file is invalid; it generates an invalid
document.

An XML document can only have one root element. You're XSLT will create a
<html> and <head>elements as roots...

<xsl:template match="/">
<html>
  <xsl:apply-templates />
</html>
<head>
  <title>Journal</title>
</head>
</xsl:template>

Try changing it to this

<xsl:template match="/">
<html>
<head>
  <title>Journal</title>
  </head>
  <xsl:apply-templates />
</html>
</xsl:template>

James
----- Original Message -----
From: "Miguel A Paraz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 1:23 PM
Subject: [dom4j-user] Files for: "Cannot add another element" for dom4j XSLT
test


> Sorry I omitted them.  To save space, I have them here:
>
>   http://mparaz.com/download/journal.xml
>   http://mparaz.com/download/journal.xsl
>
> Thanks in advance!
>
>
> --
> Miguel A Paraz             <[EMAIL PROTECTED]> Mobile: +63-916-423-7922
> Imperium Technology, Inc.  <[EMAIL PROTECTED]> Office: +63-2-812-3155
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> dom4j-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dom4j-user
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to