OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Simple XSLT Problem

[ Lists Home | Date Index | Thread Index ]


(xsl-list would have been better than xml-dev)

you have a stylesheet that doesn't match any elements in your source
so you just get the character data of your source, which in your case 
is just the white space used for indentation.

You have a template matching presentation in no-namespace but all your
source elements are in  http://www.bee-biometrics.org/schemas/sigset/0.1

so probably you want to add
xmlns:b="http://www.bee-biometrics.org/schemas/sigset/0.1"; to your
xsl:stylesheet then use
 
 <xsl:template match="b:presentation">

If you want to zap all that indentation space add
<xsl:strip-space elements="*"/>
as well.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS