hi all,
        i found a workaround: i used no attributes at all, but all the
elements
are in the form

<elementname>elementvalue</elementname>

regards
        marco

> -----Original Message-----
> From: Mistroni Marco (NET-MIA/Helsinki) 
> Sent: 06. June 2001 13:50
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Subject: problem with XSLTC included in Xalan
> Importance: High
> 
> 
> hi all,
>       i have downloaded Xalan-j_2_1_0 and i am trying to use 
> the XSLTC features,
> but i am encountering different problems.
> 
> 1) i don't know why but it seems that i cannot access 
> element's attributes
> 2) if i want to output the whole element with all its data 
> (<person name="Marco" />), the 
>    following template does not work!
>    <xsl:template match="@*|*">
>       <xsl:copy>
>               <xsl:apply-templates select="@*" />
>       </xsl:copy>
>    </xsl:template>
> 
> it just output <person ="Marco"/>
> 
> attached is the xml and xsl file
> 
> hope that someone can help me soon
> 
> thanx in advance and regards
>       marco
> 

mytest.xsl

test.xml

Reply via email to