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

Re: NEED YOUR HELP! (FILES INCLUDED)

Subject: Re: NEED YOUR HELP! (FILES INCLUDED)
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Mon, 3 Jun 2002 14:46:11 -0700
Re:  NEED YOUR HELP! (FILES INCLUDED)
-----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


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-2007 All Rights Reserved.