yes, i'd have to loop through the pet types,but not for counting them, is to show them, becouse the types of pets can change when the XML is generated.so, i need the XSL code to build that table whit that XML, i can build a table but the rows are the "tag content value" (<tag_name>tag_content</tag_name> i need to row tag_name | tag_content.i explain myself well?is this possible?thanks again.