Re: [TFUI] "if" in XSLT (Re: XML -> XSLT -> XHTML Nirvana)

Phlip <[email protected]> Mon, 14 Mar 2005 07:39:48 -0800
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
Cory Foy wrote:
> 
> Ok, so maybe I should have clarified that that is what I think the XML
> should look like *before* the XSL transformation. I was thinking of a
> book information node like:
> 
> <book isbn="ISBNNUMBER">
>   <title hightlight="hotpink">The title</title>
>   <price>$39.95</price>
>   <quantity_in_stock>5</quantity_in_stock>
> </book>
> 
> Which your XSL would output to:
> 
> <table>
>  <tr>
>   <td colspan="2">
>     <span style="background-color:hotpink">The title</span>
>   </td>
>  </tr>
>  <tr>
>    <td>Price: $39.95</td><td>In Stock: Yes(5)</td>
>  </tr>
> </table>

This is closer to the /WebXP/ Prime Directive, and farther from my
solution, which has higher risk and more flexibility.

-- 
Phlip


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/