Click here to Skip to main content
15,885,435 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionHow to open zipfile and xls Pin
Themba Zwane8-Feb-12 7:53
Themba Zwane8-Feb-12 7:53 
AnswerRe: How to open zipfile and xls Pin
Richard MacCutchan8-Feb-12 21:54
mveRichard MacCutchan8-Feb-12 21:54 
AnswerRe: How to open zipfile and xls Pin
ZurdoDev19-Mar-12 9:02
professionalZurdoDev19-Mar-12 9:02 
QuestionImplementing Apriori Algorithm with XQuery Pin
helloworld202018-Jan-12 1:47
helloworld202018-Jan-12 1:47 
Questionsplitting the xmlnode based on nodelength Pin
harinit11-Jan-12 22:20
harinit11-Jan-12 22:20 
AnswerRe: splitting the xmlnode based on nodelength Pin
chriselst13-Jan-12 0:48
chriselst13-Jan-12 0:48 
GeneralRe: splitting the xmlnode based on nodelength Pin
harinit16-Jan-12 22:37
harinit16-Jan-12 22:37 
AnswerRe: splitting the xmlnode based on nodelength Pin
woopsydoozy16-Mar-12 7:59
woopsydoozy16-Mar-12 7:59 
XML
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
    <xsl:output method="xml" indent="yes"/>

    <xsl:template match="Students">
      <Students>
        <xsl:for-each select="*">
          <xsl:choose>
            <xsl:when test="count(./*) > 3">
              <Student>
                <xsl:copy-of select="roll"/>
                <xsl:copy-of select="StudName"/>
              </Student>
            </xsl:when>
            <xsl:otherwise>
              <xsl:copy-of select="."/>
            </xsl:otherwise>
          </xsl:choose>
        </xsl:for-each>
      </Students>
    </xsl:template>
</xsl:stylesheet>

QuestionVStudio and xsd.exe create different schema Pin
Tomerland4-Jan-12 10:22
Tomerland4-Jan-12 10:22 
Questionhow to look for a VALUE in an xml document. Not a node. Pin
dotolee12-Dec-11 7:22
dotolee12-Dec-11 7:22 
AnswerRe: how to look for a VALUE in an xml document. Not a node. Pin
Tarun.K.S12-Dec-11 18:10
Tarun.K.S12-Dec-11 18:10 
AnswerRe: how to look for a VALUE in an xml document. Not a node. Pin
Member 86251126-Mar-12 22:40
Member 86251126-Mar-12 22:40 
QuestionHow to load xml questions into jquery flipcard? Pin
burakmartonalti14-Nov-11 19:16
burakmartonalti14-Nov-11 19:16 
QuestionXslt Transformation Pin
tellaston134527-Oct-11 6:03
tellaston134527-Oct-11 6:03 
QuestionException: "XsltContext is needed for this query because of an unknown function" Pin
NarVish20-Oct-11 22:57
NarVish20-Oct-11 22:57 
AnswerRe: Exception: "XsltContext is needed for this query because of an unknown function" Pin
NarVish21-Oct-11 0:49
NarVish21-Oct-11 0:49 
QuestionXPath problem with % value Pin
NarVish18-Oct-11 0:29
NarVish18-Oct-11 0:29 
AnswerRe: XPath problem with % value Pin
jschell18-Oct-11 8:52
jschell18-Oct-11 8:52 
GeneralRe: XPath problem with % value Pin
NarVish18-Oct-11 18:39
NarVish18-Oct-11 18:39 
GeneralRe: XPath problem with % value Pin
NarVish18-Oct-11 22:00
NarVish18-Oct-11 22:00 
GeneralRe: XPath problem with % value Pin
NarVish18-Oct-11 22:36
NarVish18-Oct-11 22:36 
QuestionHow can I put condition Pin
Noor201118-Sep-11 4:23
Noor201118-Sep-11 4:23 
GeneralRe: How can I put condition Pin
AspDotNetDev18-Sep-11 7:27
protectorAspDotNetDev18-Sep-11 7:27 
AnswerRe: How can I put condition Pin
Morgs Morgan22-Sep-11 4:40
Morgs Morgan22-Sep-11 4:40 
GeneralRe: How can I put condition Pin
Noor201130-Sep-11 0:43
Noor201130-Sep-11 0:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.