hwg-xml archives | Dec 2001 | new search | results | previous | next |
XSL Questionby "Josh Jenkins" <joshuwa(at)returntrue.com> |
|
I have an XSL set up to transform an XML doc into HTML. I have defined a namespace with http://www.w3.org/TR/WD-xsl to achive that. Some nodes contain empty values. I would like to use a second namespace using http://www.w3.org/1999/XSL/Transform so I can access the neat featues like the if statement. I know I can say: <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl" xmlns:xslt="http://www.w3.org/1999/XSL/Transform"> How can I have use the xslt namespace to check on an element value in the xsl namespace? Basically when I am displaying the values of the nodes if they are empty I wish to surpress them. I came across xslt tranformation and the conditional logic built in and figured it may be useful. Any hint would be greatly appriciated.
HWG hwg-xml mailing list archives, maintained by Webmasters