[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: selecting elements by attributes when working with
Joelle Tegwen wrote: Hi > <xsl:template match="tt:span[@class='defaultSpeaker']"> > <xsl:if test="count(../preceding-sibling::*)>0"> > <xsl:text > disable-output-escaping="yes"></dd></xsl:text> > </xsl:if> > <dt> > <xsl:value-of disable-output-escaping="yes" select="."/> > </dt> > <xsl:text disable-output-escaping="yes"><dd></xsl:text> Please, never, never do that. You are not generating correct XML regarding XDM, but you are instead cheating with the serializer. I didn't look in details of what you want, but you should be able to find another solution. If not, please post a simple excerpt of your input and your expected output. > </xsl:template> > <xsl:template match="tt:span"> > <!-- do something else --> > </xsl:template> > but when I do that the selector doesn't work. Which selector? What doesn't work? How? Regards, --drkm _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|