Subject: Re: xsl:style-sheet: XSL (and entities) in IE5 From: Duane Nickull <webmaster@xxxxxxxxxxxxxxxxx> Date: Fri, 07 May 1999 09:06:47 -0700 |
Catherine: If you wish to write an xsl:stylesheet for IE 5.0, I would visit the MS XSL site and familiarize yourself with the XSL elements supported by IE 5.0. The URI is http://msdn.microsoft.com/xml/c-frame.htm#/xml/default.asp The MSXSL ruleset allows support for xsl elements in IE 5.0 using syntax like this: <xsl:for-each select="root_tag/second_tag> The value of the third tag is: <xsl:value-of select="third tag"/> </xsl:for-each> It is also probably that the stylesheet you sent cannot extract the information you want to display due to improper referencing of nodes. Can you please send us the accompanying xml file (or a brief sample)? Duane Nickull Catherine Goodall wrote: > > >It may be advantageous for the group to look at the actual code you are > >working with. When working with xsl styled xml & IE5.0, when you get a > >blank white page as the final output, quite often it is because the > >nodes are not being accessed correctly. > > The stylesheet is as follows (perhaps the problem is much simpler?!) Also, > I'm not sure if I could use style-rules for all of it, since there aren't > complex constructions. Thanks for any help you can give to my experimentation. > Cathy > > ---------file refers to:------- > <?XML:stylesheet href="trial-style.xsl" type="text/xsl"?> > > ---------stylesheet:-------- > <xsl> > > <rule> > <target-element type="teiHeader"/> > </rule> > > <rule> > <target-element type="text"> > <children/> > <apply font-family="serif" font-size="12" text-align="justify" > background="white"/> > </target-element> > </rule> > > <rule> > <target-element type="hyperDiv"/> > </rule> > > <style-rule> > <target-element type="titleBlock"/> > <apply text-align="center"/> > </style-rule> > > <style-rule> > <target-element> > <attribute name="rend" value="face(roman)"/> > <apply font-family="sans-serif"/> > </target-element> > </style-rule> > > <style-rule> > <target-element> > <attribute name="rend" value="weight(bold)"/> > <apply font-weight="bold"/> > </target-element> > </style-rule> > > <style-rule> > <target-element> > <attribute name="rend" value="kern(+1)"/> > <apply letter-spacing="1em"/> > </target-element> > </style-rule> > > <style-rule> > <target-element> > <attribute name="rend" value="size(+1)"/> > <apply font-weight="bold"/> > </target-element> > </style-rule> > > <style-rule> > <target-element type="foreign"> > <attribute name="rend" value="face(roman)"/> > <apply font-style="italic"/> > </target-element> > </style-rule> > > </xsl> > ------- > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: xsl:style-sheet: XSL (and entit, Catherine Goodall | Thread | Re: xsl:style-sheet: XSL (and entit, John E. Simpson |
Re: Need to test if there is a valu, Larry Fitzpatrick | Date | RE: Test for the existence of attri, Kay Michael |
Month |