You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Ma...@nokia.com on 2001/06/06 13:21:23 UTC

FW: problem with XSLTC included in Xalan /workaround

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: 'xalan-dev@xml.apache.org'
> Cc: 'morten.jorgensen@ireland.sun.com'
> 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
>