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

Re: no input from document()?

Subject: Re: no input from document()?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sun, 22 Feb 2004 17:57:01 GMT
Re:  no input from document()?
>    <xsl:variable name="matching" select="$B[@xmlUrl = $feed]" />
so matching will hold one or more outline elements, each of which is
empty, so string($matching) is going to be ""

so you don't want to do 
   <xsl:if test="string($matching) != string($feed)">

possibly you want to do

   <xsl:if test="$matching">

incidentally you never need to start a match with // (it does not change
the elements matched, only their default priority) also (although I
suppose this is out of your control), the attribute name should not be xmlUrl
as names begining with xml are reserved for future use in core xml
specs. (which is why xmlns could suddenly be defined to have a magic
meaning as a namespace declaration)



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

Current Thread


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.
First Name
Last Name
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.