Toad World® Forums

XSL Template Help


#1

I’ve been trying to create an xslt template that would output relationship information into a .csv file. Basically one line in the file would have elements for each relationship like relationship name, parent entity, parent attribute, child entity, child attribute, etc.

I tried to create my xslt by studying the entities-csv.xslt & completecopy-xml.xslt samples, but I did not have success. Has somone created something similar that I could look at? Preferably well-commented so I can create my own moving forward.

Thanks,

Chris


#2

Hi,

I created a sample XSL template for you. It contains also comments.
You can download it from:
http://modeling.inside.quest.com/entry.jspa?externalID=2575&categoryID=407

For more basic information about the transformation features please see our blog:
http://blogs.inside.quest.com/modeling/2009/02/09/xslt-reports-part-1/

Feel free to write me back if you have any question.

Regards,

Vaclav


#3

Thanks, that was exactly what I needed.

Chris


#4

You are welcome.

Vaclav