This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Really basic, but can't get it to work, and it's getting on my nerves::*
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Really basic, but can't get it to work, and it's getting on my nerves::*
- From: "Daniel Newman" <daniel dot newman at bis-web dot net>
- Date: Tue, 3 Jul 2001 15:58:46 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Oliver Becker
Sent: 03 July 2001 15:43
To: xsl-list@lists.mulberrytech.com
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@informatik.hu-berlin.de |
| 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