On 17.Aug.2001 -- 10:48 AM, Kazi the P i R @ t {- wrote:
> Actually i am not using any comments in the real file... i only put it in
> when i posting the message for the readers' benefit.
> 
> So the block actually looks like this:
> 
>    <product>
>                <xsp:attribute name="id">
>                  <xsp:expr>temp_bullet</xsp:expr>
>             </xsp:attribute>
>            <name>
>                <xsp:expr>temp_gun</xsp:expr>
>             </name>
>     </product>

> > >org.xml.sax.SAXParseException: The content of elements must consist of
> > >well-formed character
> > >                 data or markup.

Wild guess: id attributes may not contain spaces (they follow the same
rules like e.g. element names). Thus perhaps the following might work:

   <xsp:attribute name="id"><xsp:expr>temp_bullet</xsp:expr></xsp:attribute>

        Chris.

-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
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]>

Reply via email to