Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Having problems with empty string

Status
Not open for further replies.

jfrost10

Programmer
Jun 3, 2001
2,004
CA
Hey guys,

we have an asp.net template that users enter information into. This is then generated into a pdf by first creating an xml document and performing an xsl transformation.

We're experiencing some weird behaviour though. If a user doesn't enter anything into a textbox, and submits the form (effectively assigning an empty string to that node's value
i.e. <Item number='1' heading='SomeHeading>(EMPTYSTRING)
</Item>
), the underline we have declared in the xsl for that item is aligned top instead of staying at the bottom.

Does anyone know a way to correct this?

What I was thinking I might need to do is compare the value of the node to see if its an empty string, and use the choose method.

I'm newbie material here guys, so any insight would be appreciated.

Thanks

jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top