« Return to Thread: Re:Experience with using FIT tables for XML data?

Re:Experience with using FIT tables for XML data?

by rasmus.soot :: Rate this Message:

| View in Thread

The HTML literal widget does not display line breaks and leading
whitespace so XML becomes quickly unreadable. Variables display line
breaks but not leading whitespace. Also the {{{ preformatted }}}
widget does not work inside test tables so variables are currently the
best way for displaying XML files in Fitnesse AFAIK.


--- In fitnesse@..., Robert Martin <UncleBob@...> wrote:

>
> This also works:
> !|TestSomething|
> |input|response|
> |!< <customer> <firstName>test</firstName> <lastName>test</lastName> </
> customer> >!|yes|
>
> The !< >! is a special literal widget that preserves HTML characters  
> (like <).  If you use !- -! then the '<' chars get interpreted by the  
> browser.
>
>
>
>
> ----
> Robert C. Martin (Uncle Bob)  | email: unclebob@...
> Object Mentor Inc.            | blog:  blog.objectmentor.com
> The Agile Transition Experts  | web:   www.objectmentor.com
> 800-338-6716                  | twitter: unclebobmartin
>


 « Return to Thread: Re:Experience with using FIT tables for XML data?