[xsl] Autogenerated XSL and the html namespace

Subject: [xsl] Autogenerated XSL and the html namespace
From: "Ralof" <ralof@xxxxxxxxxxxx>
Date: Wed, 11 Apr 2001 00:37:42 +0200
When we make schemas, we add the default displaystyle
as a attribute to the element, like:

<ElementType name="chapterTitle" ExtOption:Formatting="display: font-family:
univers helvetica sans-serif; font-weight: bold; font-size: x-large; ">
<description>Chapter Title</description>

Now, parsing out the displayinfo to a CSS file is quite easy, but
how do I put it into a XSL file?

I was thinking in terms of:

<xsl:template match="/">
  <xsl:for-each select="//*">
	<span class="{xsl:name-of-tag}"><xsl:value-of select="*" /></span>

Furthermore, when using the html: namespace I obviously
wan't to just use the html tag for that instance, but I
have problems with that also...

<xsl:template match="everything-in-html-namespace">
  <xsl:for-each item>
	<htmlTag><xsl:value-of select="*" /></htmlTag>

(I know syntax is wrong, but I tried to make it describing)
I am a total newbie on XSL, and the more I read the less I know :)
Hope someone can give me some hints on how to solve this.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread