This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: nesting xml


You are using the wrong namespace.

XML/XSL Portal 
http://www.bayes.co.uk/xml


>-----Original Message-----
>From: owner-xsl-list@lists.mulberrytech.com
>[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Mark Kahn
>Sent: 03 May 2001 20:41
>To: xsl-list@lists.mulberrytech.com
>Subject: [xsl] nesting xml
>
>
>can someone tell me what's wrong with this?  the xsl doesn't seem 
>to match anything in the xml...mainly the line '<xsl:template 
>match="text">':
>
>XSL:
>
><?xml version='1.0'?>
><xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl";>
><xsl:template match="text">
>  <html>
>  <body>
>  hello
>  </body>
>  </html>
></xsl:template>
></xsl:stylesheet>
>
>XML:
>
><?xml version="1.0"?>
><ROOT>
> <text>
>  <definition>
>   <color>
>    content
>   </color>
>   <size>
>    content
>   </size>
>   <font>
>    content
>   </font>
>  </definition>
>  <data>
>   content
>  </data>
> </text>
></ROOT>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]