[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: FW: Basic XSLT ;-)
Hi All, I have a complicated looking problem I have in my XML sections with titles , may be some information of some tables etc.. What happens now is that when the PDF is generated, then sometimes the Title appears in the bottom of the page and then the Contents under the title comes up in the next page. What I really need is , If there are less than 3 lines in the page under the Title, before the page ends, then the whole Title and the Text must come in the next page. So No Title should be in a page with out a minimum of three lines under it. If less than three, then the title shud be in the next page. Is there any one out there who can fish me out of this?? Thanks and Best Regards, Vasu ----- Original Message ----- From: "Robert Soesemann" <rsoesemann@xxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Friday, January 14, 2005 12:44 PM Subject: FW: Basic XSLT ;-) I am struggeling with a really basic XSL task. I guess I am missin something. I need a template that matches the text values of all foo element whose original value is 'Value'. The original value should be normalized as I want to match e.g.: <foo> Text </foo> or <foo>Text </foo> or <foo name="bar"> Text <child>...</child> </foo> I tried without success: ------------------------ <xsl:template match="foo[normalize-space(text())='Value']"> ... </xsl:template> Please help!! ;-)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|