[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Noob: Wrap cell content and some validation??

Subject: RE: Noob: Wrap cell content and some validation??
From: cknell@xxxxxxxxxx
Date: Tue, 16 Sep 2003 14:35:59 -0400
html wrap
> 1 how do i "wrap" header-cell content
Please show us a sample of your input and what that sample should look like after the transformation. We can understand that. Your question is not specific enough to give a useful answer.

> 2 how do i create some validation, like if xml-node = "null" 
> show nothing and xml-node !="null show the value

Please explain what you mean my "null". There is no template that matches a non-existent node, therefor, if by "null" you mean a node that doesn't exist, then no "validation" of the sort you describe is necessary or possible. If by "null" you mean an empty node such as "<some-node />", then the node will have no value. The matching template will not output non-existent content. If by "null", you mean an element with only white-space nodes as its value, there are ways of dealing with that which involve special white-space handling features of XSLT.
-- 
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     "Barry van Weldam" <barry@xxxxxxx>
Sent:     Tue, 16 Sep 2003 20:13:25 +0200
To:       <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject:   Noob: Wrap cell content and some validation??

Hi there,

Some simple questions i think:

1 how do i "wrap" header-cell content
2 how do i create some validation, like if xml-node = "null" show nothing and xml-node !="null show the value

Thanks for reading

config: xml->xsl-fo->fop->pdf

bye


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.