I'm totally new to xsl. I'm using VS2008 and I was looking for any beginner tutorials to get me up and running using xsl? Is VS2008 an environment to develop xsl? Any tutorial that would show a complete newbie how to use xsl with an xml document in VS2008
and how to display the generated html would be great.
Thanks for the link to the xsl transform debug article. I went thru that example and see how the xsl transforms into another xml document transforming the nodes into attributes.
Being that was literally the first example I have done with xsl, I'm trying to understand how I can see the xsl transform into html, how would that be acccomplished? So, I would like to take the xsl and transform it into html and view the html thru the
VS2008 internal web browser. Is this possible?
XSLT 1.0 has three output methods: xml, html, text.
If you want to transform XML to HTML then make sure your stylesheet creates HTML result elements. If you create a complete HTML docment meaning the root element of your result is named 'html' in no namespace then the output method defaults to html and you
don't have to set it explicitly. Otherwise, if you only create a HTML fragment, you have to set
<xsl:output method="html"/>
explicitly in your stylesheet.
That is about all that XSLT 1.0 has to offer, the rest is left to you meaning is it up to you to ensure that the stylesheet outputs meaningful HTML.
Martin Honnen --- MVP Data Platform Development
My blog
Member
39 Points
420 Posts
new to xsl and trying to learn
Oct 02, 2009 09:45 PM|Dman100|LINK
I'm totally new to xsl. I'm using VS2008 and I was looking for any beginner tutorials to get me up and running using xsl? Is VS2008 an environment to develop xsl? Any tutorial that would show a complete newbie how to use xsl with an xml document in VS2008 and how to display the generated html would be great.
Thanks.
All-Star
124328 Points
10142 Posts
Re: new to xsl and trying to learn
Oct 02, 2009 09:50 PM|SGWellens|LINK
You can debug XSL in VS2008. Here's how.
My blog
Member
39 Points
420 Posts
Re: new to xsl and trying to learn
Oct 02, 2009 11:03 PM|Dman100|LINK
Thanks for the link to the xsl transform debug article. I went thru that example and see how the xsl transforms into another xml document transforming the nodes into attributes.
Being that was literally the first example I have done with xsl, I'm trying to understand how I can see the xsl transform into html, how would that be acccomplished? So, I would like to take the xsl and transform it into html and view the html thru the VS2008 internal web browser. Is this possible?
Thank you.
Contributor
6062 Points
1895 Posts
Re: new to xsl and trying to learn
Oct 03, 2009 05:01 AM|kavita_khandhadia|LINK
you can check my blog pos on the same topic at
http://kavstech.blogspot.com/2009/07/basic-funda-of-xmlxsdxslt.html
I would love to change the world, but they wont give me the source code.
Star
10562 Points
1997 Posts
Re: new to xsl and trying to learn
Oct 03, 2009 06:51 AM|Martin_Honnen|LINK
XSLT 1.0 has three output methods: xml, html, text.
If you want to transform XML to HTML then make sure your stylesheet creates HTML result elements. If you create a complete HTML docment meaning the root element of your result is named 'html' in no namespace then the output method defaults to html and you don't have to set it explicitly. Otherwise, if you only create a HTML fragment, you have to set
<xsl:output method="html"/>
explicitly in your stylesheet.
That is about all that XSLT 1.0 has to offer, the rest is left to you meaning is it up to you to ensure that the stylesheet outputs meaningful HTML.
My blog
Member
160 Points
83 Posts
Re: new to xsl and trying to learn
Oct 07, 2009 05:01 AM|surajitkhamrai|LINK
http://www.w3schools.com/xsl/
Member
30 Points
128 Posts
Re: new to xsl and trying to learn
Jul 11, 2013 02:06 PM|vjxp|LINK
The best website to learn XML, XSLT, XPath in Just 1 Day is
xsl.azurewebsites.net
ALL XSLT Functions, XSLT Elements, Nodeset Functions, Strings Functions, Number and Boolean Functions are explained with simple & small samples.
Each & Every Sample has
For practice, you may use one of the Softwares below
Happy Learning
xsl learning