RE: [xsl] Really basic, but can't get it to work, and it's getting on my nerves::*

Subject: RE: [xsl] Really basic, but can't get it to work, and it's getting on my nerves::*
From: "Daniel Newman" <daniel.newman@xxxxxxxxxxx>
Date: Tue, 3 Jul 2001 15:58:46 +0100
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: [xsl] 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: [xsl] 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


Current Thread