|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Noob: Wrap cell content and some validation??
> 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
|
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
|

Cart








