[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

Subject: RE: 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
RE:  Really basic
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.