Re: Test case document formatting request

Frederick Hirsch wrote:
> 
> Our test cases document [1] incorporates examples using XInclude. This 
> is good because it means we include the examples used to test code 
> without copying or possibly introducing errors, and can stay in sync 
> with latest checked in changes.
> 
> However, these examples  get formatted in the test case HTML document as 
> a very long horizontal line of XML, presumably due to lack of spaces 
> between XML elements.
> 
> This is essentially illegible to read, requires horizontal scrolling in 
> browser and will not print properly.
> 
> Two questions
> 
> (1) is there a tool or technique to process the XInclude so that the 
> content included is pretty-printed upon inclusion so it flows properly?

I think this is possible using the style attribute of the html pre tag. 
It is currently set to "overflow". But I have no idea how to do this. 
Any html/CSS experts out there?

--Sean

Received on Monday, 7 January 2008 19:38:54 UTC