Re: How to exclude non-html-elements from HTML serialization

2008-11-16 Thread Smigge



Andy Stevens-2 wrote:
 
 2008/11/14 Smigge [EMAIL PROTECTED]:

 Hi!

 I have an HTML serialization, in which I have a structure just for
 logging
 purposes like this:

 log
  logging stuff
 /log
 html
  HTML-stuff
 /html

 However, the logging stuff is visible on the HTML page as well, and I
 don't
 want that. I could make an extra transformer to throw the log-structure
 away, but there must be another way of doing this, right?
 
 Use log style=display:none; instead?
 
 
 Andy.
 -- 
 
That doesn't make it go away. Earlier I also tried  .
-- 
View this message in context: 
http://www.nabble.com/How-to-exclude-non-html-elements-from-HTML-serialization-tp20499622p20534867.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to exclude non-html-elements from HTML serialization

2008-11-16 Thread Jasha Joachimsthal
Why don't your filter the log elements in a final XSLT before the
serialization and if you want to debug some more, use a cocoon-view [1]
to skip this last XSLT and trigger serialization immediately.

[1] http://cocoon.apache.org/2.1/userdocs/concepts/views.html


Jasha Joachimsthal 
 
[EMAIL PROTECTED] - [EMAIL PROTECTED]
 
www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-5100 +1 (707) 773-4646


 -Original Message-
 From: Smigge [mailto:[EMAIL PROTECTED] 
 Sent: maandag 17 november 2008 8:31
 To: users@cocoon.apache.org
 Subject: Re: How to exclude non-html-elements from HTML serialization
 
 
 
 Andy Stevens-2 wrote:
  
  2008/11/14 Smigge [EMAIL PROTECTED]:
 
  Hi!
 
  I have an HTML serialization, in which I have a structure just for 
  logging purposes like this:
 
  log
   logging stuff
  /log
  html
   HTML-stuff
  /html
 
  However, the logging stuff is visible on the HTML page as 
 well, and I 
  don't want that. I could make an extra transformer to throw the 
  log-structure away, but there must be another way of doing this, 
  right?
  
  Use log style=display:none; instead?
  
  
  Andy.
  --
  
 That doesn't make it go away. Earlier I also tried span 
 class=hidden.
 --
 View this message in context: 
 http://www.nabble.com/How-to-exclude-non-html-elements-from-HT
 ML-serialization-tp20499622p20534867.html
 Sent from the Cocoon - Users mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to exclude non-html-elements from HTML serialization

2008-11-15 Thread Andy Stevens
2008/11/14 Smigge [EMAIL PROTECTED]:

 Hi!

 I have an HTML serialization, in which I have a structure just for logging
 purposes like this:

 log
  logging stuff
 /log
 html
  HTML-stuff
 /html

 However, the logging stuff is visible on the HTML page as well, and I don't
 want that. I could make an extra transformer to throw the log-structure
 away, but there must be another way of doing this, right?

Use log style=display:none; instead?


Andy.
-- 
http://pseudoq.sourceforge.net/  Open source java Sudoku solver

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]