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

What's wrong with this copy-of?

Subject: What's wrong with this copy-of?
From: Jorge Maestre <jorge.maestre@xxxxxxxxxxx>
Date: Wed, 3 Oct 2001 13:23:04 +0200
jorge maestre
A silly question. Sorry.


I've got the following foo.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="foo.xsl"?>
<page>
   <foo>
      <one a="a1foo">v1foo</one>
      <two a="a2foo">v2foo</two>
   </foo>
</page>


An the foo.xsl is:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:output method="html" encoding="iso-8859-1" indent="yes"/>
   <xsl:template match="/">
      <html>
         <head/>
         <body>BODY      <xsl:comment>
               <xsl:copy-of select="/page/foo"/>
            </xsl:comment>
         </body>
      </html>
   </xsl:template>
</xsl:stylesheet>


All I wanted is to see the XML foo node commented in the HTML, what i'm
doing wrong?

Thank you in advance.

This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it. 


 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.