This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Transformation problem


Hi,

I know this list isn't about debugging other people's code, but I seem
to be stuck, and here's what's happening:

I am translating one XML file into another, but one of the input tags
isn't parsed, and I don't see why.

The input reads as follows:

<General>
   ...
   <Author>
	<vCard ...> ... </vCard>
   </Author>
   ...
</General>
  
and the transformation is defined as follows:

 <xsl:apply-templates select="General"/>
  ...
 <xsl:template match="General">
 <xsl:for-each select="Author">
	<xsl:apply-templates select="vCard"/>
 </xsl:for-each>
...
 </xsl:template>

 <xsl:template match="vCard">
 ...
 </xsl:template>

The problem is that the XSL commands assigned with the vCard tag are
never output, and I don't have the slightest idea why.

If anyone should have an idea on what I'm doing wrong, let me know!

Thanks for your help, as always!
Matt
-- 

---------------------------------------------------------------------
PLEASE NOTE THAT MY MAIL ADDRESS m.o.will@gmx.de WILL BE DISCONTINUED
AND USE m.o.will@web.de TO SEND ME YOUR E-MAILS! THANK YOU VERY MUCH!
--------------------------------------------------------------------

Matthias O. Will (m.o.will@web.de)                       <>< 
Institute of Computer Science,       University of Freiburg
Georges-Koehler-Allee, Bldg. 51, D-79110 Freiburg,  Germany	 
Phone:   +49-761-203-8170             Fax: +49-761-203-8162  
URL:     http://ad.informatik.uni-freiburg.de/~will

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]