Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] NEED YOUR HELP! (FILES INCLUDED)

From: Peter Davis <pdavis152@--------->
To:
Date: 6/3/2002 1:56:00 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You are using <xsl:value-of> which simply outputs the *TEXT* value of the 
current element, removing all the <sub> tags.  It sounds like you want 
<xsl:copy-of select="."> instead.

On Monday 03 June 2002 14:19, normbishop1@xxxxxxxxxxxx wrote:
> Hi all,
> I apologize for still bothering you all with this :(.   I have a very
> simple xml/xsl file.  I am using IE 5.5 to open the xml file and the out
> put is this: 'subscript testsub'
> Why didn't it do the actual subscript of 'testsub'?   I am so confused and
> frustrated at this issue.  I truly need your expert advice on this.
>
> Thank you all so much in advance.
>
> Norm
>
>
> <?xml version="1.0"?>
> <?xml-stylesheet type='text/xsl' href='test.xsl'?>
> <document id=" ">
>   <chapter>
>         <name>subscript <sub> testsub </sub> </name>
> </chapter>
> </document>
>
> <?xml version="1.0" encoding="utf-8" ?>
> <xsl:stylesheet version="1.0"
>     xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
>
>    <xsl:template match="/" >
>         <xsl:value-of select="."/>
>    </xsl:template>
> </xsl:stylesheet>

- -- 
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8++OjNSZCJx7tYycRApYGAKCaSRINuxx05SGlXsXxQHpVY7j7zwCfSHQE
SQ/KoxBMy8wjMzINGSCQ3BA=
=TL/6
-----END PGP SIGNATURE-----


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


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent