-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: ShrinivasInDotNet
Message 1 in Discussion
Hello friends, My xml file is <?xml version="1.0" standalone="yes"?>
<DataSet xmlns="Csharp.Io.File.xsd">
<File Description=" " Version="9.0.0.0" />
<Books xmlns="Csharp.System.Xml.xsd">
<Book xmlns="">
<Name>First Book</Name>
<Type>Technical</Type>
</Book>
<Book xmlns="">
<Name>Second Book</Name>
<Type>Spiritual</Type>
</Book>
</Books>
</DataSet> I want to find match of Books using <xsl:template match="DataSet/Books">
but since xmlns is present (xmlns="Csharp.Io.File.xsd and Csharp.System.Xml.xsd), no
match is found. If I remove xmlns (xmlns="Csharp.Io.File.xsd and
Csharp.System.Xml.xsd), matches are found..but I cannot remove xmlns as that is
dependant. so how to find such match? please reply asap.. Also, for each type of book
i.e. Technical or Spiritual, I want use it as xsl:choose and display different things
for each type e.g. <xsl:choose>
<xsl:when test='Type =Technical'>
<xsl:text> Technical category </xsl:text>
</xsl:when>
<xsl:when test='Type =Spiritual'>
<xsl:text> Spiritual book </xsl:text>
</xsl:when>
</xsl:choose> Please let me know how to do this. Thanks
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]