This is probably
really dumb, but I can't figure out how to do the following:
Compare the ntype
variable in the following code with a straight boring old string eg
"BLOCKQUOTE"
eg if nytpe =
blockquote, then print text_content() in italics..
<dtml-in
"getChildNodes()">
<dtml-let
ntype="getNodeName()">
<dtml-if ...condition..... >
print something
</dtml-if>
</dtml-let>
</dtml-in>
I've looked through
the DTML help file but it's confused me more than anything else, I'm guessing I
need to use the
find(S, SUB[, START]) syntax as part of the string
module
But I can't figure it out.. there's no examples in
the help of string comparison functions and what this _ business is all about,
I'm sure after I see an example it will all become quite clear, but for the life
of me I just can't get it sorted..
Helllllpppppp!!!!
Rowan Hick
Business Analyst,
Soft Tech NZ LTD