[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL attribute expression

Subject: RE: XSL attribute expression
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Mon, 09 Oct 2000 11:28:00 +0100
msxml2 attribute
Dwight,

>I am using MSXML v3. Another person suggested I should use XSLT instead of
>XSL. Is the following code invalid, old style, or just a bug/limitation in
>MSXML's XSL processor?
>
>> <job job-id="100" url="http://www.apago.com/jobs/1" />
>> <xsl:template match="job">
>> 	<DIV>
>> 	Job <xsl:value-of select="@job-id" />
>> 	<A HREF="{@url}">URL</A>
>> 	</DIV>
>> </xsl:template>

The attribute value template (the thing in curly braces within the HREF
attribute value - "{@url}") is perfectly valid XSLT 1.0.  MSXML2 couldn't
interpret attribute value templates (this limitation is one of the
distinctions between MSXML2's XSL dialect and XSLT1.0), but
MSXML3(September) (which supports XSLT1.0) does so fine.

As Evan said, the fact that you're having problems with it implies that
while you've installed MSXML3, you haven't installed it in replace mode.
When you 'install' MSXML3 using the installer that comes with it, all that
happens is that a .dll gets placed in your system folder.  You need to run
'xmlinst.exe', which is available as a separate download from MSDN (or with
the installer, if you have the July version), to get IE5 to actually *use*
that .dll by default.

This is covered in the alternative MSXML FAQ at
http://www.netcrucible.com/xslt/msxml-faq.htm.

Cheers,

Jeni

Jeni Tennison
http://www.jenitennison.com/


 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.