Last post Aug 09, 2012 09:44 PM by Decker Dong - MSFT
Aug 08, 2012 01:26 AM|SigdelG|LINK
I am a very beginner in xsl and donot have much knowledge with it. I do have some problem and hope I can get help here.
I've got a table "test" at the directory "E:\test" inside my computer.The table has got several columns, along with a column "image" that stores the image location. I need to create a xsl template that will create a table with 2 columns and have all other
attributes except "image" placed in it where, the first column shows column name and second one show their corresponding value. Besides these, I need to show the image at the top(above table), and the image will be the same image as in "image" column.How can
i create it using xsl??or may i have some code to address this typical case?
Aug 08, 2012 02:02 AM|santosh.jagdale|LINK
XSL is used to formatting document and cann't be to create element.
this willl help you
Then you create an XSL Style Sheet ("cdcatalog.xsl") with a transformation template:
Add the XSL style sheet reference to your XML document ("cdcatalog.xml"):
If you have an XSLT compliant browser it will nicely transform your XML into XHTML.
Aug 08, 2012 02:09 AM|SigdelG|LINK
this still isnot adressing my query.I am getting confused on the way i select subdirectories and column of my table, and select a typical column.Could anyone please attach the code for the file and table i have mentioned?
Aug 08, 2012 02:16 AM|santosh.jagdale|LINK
what do you mean by "I've got a table "test" at the directory "E:\test" inside my computer"
do you have any file which contains a table? or what else
or do you want to know that how to get files inside subdirectories?
what is the link between subdirectories and column of my table?
Aug 09, 2012 09:44 PM|Decker Dong - MSFT|LINK
So what's your really xml contents？And what's up now？What do you want to do？