[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Autogenerated XSL and the html namespace

Subject: Autogenerated XSL and the html namespace
From: "Ralof" <ralof@xxxxxxxxxxxx>
Date: Wed, 11 Apr 2001 00:37:42 +0200
html namespace xsl
Hi,
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>
</ElementType>

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>
  </xsl:for-each>
</xsl:template>


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>
  </xsl:for-each>
</xsl:template>

(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.


Regards

Stefan




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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.