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

RE: ahref

Subject: RE: ahref
From: "Xuegen Jin" <xjin_imi@xxxxxxxxx>
Date: Wed, 25 Apr 2001 11:37:48 -0400
ahref in xml
Your XML is not well-formed, change the second "<conRec>" to "</conRec>". 

What XML Parser are you using? How can it not report this as an error?

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Tanzila
Mohammad
Sent: Wednesday, April 25, 2001 11:08 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  ahref


Hello

My xml is as follows:
<interAgency>
     <conRec>
      <contactID>1</contactID>
       <file href="C:/MyDocuments.ma.doc">File.doc</file>
     <conRec>
</interAgency>

xsl:
The parameter is set at the start of sheet.
---
 <td colspan="3" width="363">
		    <font face="Arial, Helvetica, sans-serif" color="#000000" size="1">
		        <a>
		<xsl:attribute name="href"><xsl:value-of
select="/interAgency/conRec[contactID=
$newcontactID]/file"/></xsl:attribute>
				<xsl:value-of
select="/interAgency/conRec[contactID=$newcontactID]/file"/>
			</a>
                    </font>
             </td>
             </tr>
----

Output:
Does not give me the link to "C:/MyDocuments.ma.doc" - the link is actually
to a File.doc file within a folder which contains my xsl, xml files

Can Someone help?

Tanz



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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.