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!

Check for an empty xml value...

Status
Not open for further replies.

rjonesX

Technical User
Jun 18, 2001
56
US
basically, i have the following

[something]
[something_child][/something_child]
[/something]
[something]
[something_child]some text[/something_child]
[/something]

and i want to use xsl to basically say, if the something_child has no value, or is empty like the first record, then print nothing, if it does have a value, then print [a][xsl:attribute name="href"][xsl:value-of select="something_child"/][/xsl:attribute]link[/a]

how would i do that?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top