[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Really basic, but can't get it to work, and it's g
Guess it pays to stay on the list, and then to read all the messages :) OK, I'm not totally clear on this, but getting the idea now. If I use the following XSL:: <xsl:template match="ComputerShare:ScripCommsMessage" xmlns:ComputerShare="http://www.computershare.com/scripcomms/v1.0"> <xsl:apply-templates select="SearchForHolderResponse" /> </xsl:template> Do I need to attach my alias of ComputerShare: to everything. The above doesn't work. So would the following be needed? <xsl:template match="ComputerShare:ScripCommsMessage" xmlns:ComputerShare="http://www.computershare.com/scripcomms/v1.0"> <xsl:apply-templates select="ComputerShare:SearchForHolderResponse" /> </xsl:template> <xsl:template match="ComputerShare:SearchForHolderResponse" > <table cellpadding="2" cellspacing="0"> <xsl:for-each select="ComputerShare:Items/Item"> <xsl:call-template name="GetTableData" /> </xsl:for-each> </table> </xsl:template> -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Oliver Becker Sent: 03 July 2001 15:43 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: Really basic, but can't get it to work, and it's getting on my nerves::* Hi Daniel, > <ScripCommsMessage xmlns="http://www.computershare.com/scripcomms/v1.0"> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Read the mails with the subject "RE: newbie problem - writing XSL for an XML with namespaces." send just a few minutes before. This is exactly the same problem. Cheers, Oliver /-------------------------------------------------------------------\ | ob|do Dipl.Inf. Oliver Becker | | --+-- E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx | | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker | \-------------------------------------------------------------------/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|