Re: [TFUI] OT? "if" in XSLT (Re: XML -> XSLT -> XHTML Nirvana)
Ron Jeffries <[email protected]> Mon, 14 Mar 2005 06:31:53 -0700
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Organization | XProgramming.com |
| Message-ID | <[email protected]> |
On Monday, March 14, 2005, at 6:24:02 AM, Bayley, Alistair wrote: >> From: Ron Jeffries [mailto:[email protected]] > > In my site generation XSLT, >> an article has two titles. One, > shorttitle-text file1.txt -- output (formatted for > Yahoo-groups): shorttitle-text > file1.txt Ignoring the "file1.txt" crud at the end (I'm not sure why this is happening; my > XSLT-fu is mediocre), you can see that both templates produce > output. The title template produces > an empty , because the test is inside the . I assume that this > is not what you intended, although > harmless. Do you think maybe this would be a better way? xpmag/ It > produces the link correctly, but there's still extra crud in the output, just like the > "file1.txt" line in the first test. I'm sorry, Alistair ... I can't figure out what you're telling me here. Did yahoo maybe foul up my XSLT insert or something? Ron Jeffries www.XProgramming.com Speak the affirmative; emphasize your choice by utterly ignoring all that you reject. -- Ralph Waldo Emerson To unsubscribe, email: TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/TestFirstUserInterfaces/ <*> To unsubscribe from this group, send an email to: TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/