[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
When u say <xsl:apply-templates select="NAME"/>, Will all the NAME nodes under MEMBER be selected(say there are more than 1 NAME nodes under MEMBER)?Also will the NAME template rule be applied to each one of the NAME nodes before the Phone node is selected?
What is the xsl:if tag doing here? Is it testing whether /legal_authenticator/person' exists??
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] XSL Help!!
Subject: [xsl] XSL Help!! From: "Chandra -" <pchandramohan@xxxxxxxxxxx> Date: Thu, 05 Dec 2002 17:59:26 -0500 |
Hi there, I have a couple of questions on XSL stylesheets. 1)<xsl:template match="MEMBER"> <xsl:apply-templates select="NAME"/> <xsl:apply-templates select="Phone[@type='work']"/> </xsl:template>
When u say <xsl:apply-templates select="NAME"/>, Will all the NAME nodes under MEMBER be selected(say there are more than 1 NAME nodes under MEMBER)?Also will the NAME template rule be applied to each one of the NAME nodes before the Phone node is selected?
2) <xsl:variable name='signers' select=/legal_authenticator/person'/> <xsl:if test='$signers'> ..... ..... </xsl:if>
What is the xsl:if tag doing here? Is it testing whether /legal_authenticator/person' exists??
3)<person_name> <nm> <GIV V="Henry"/> <FAM V="Levin"/> </nm> <person_name.type_cd V="L" S="2d"/> </person_name>
For the above xml, I see the following in the stylesheet <xsl:apply-templates select='person_name[person_name.type_cd/@V="L"]'/> What do the [] mean?? Why can't I just have / instead of the []??
Thanks in advance, Regards, Chandra
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] is the variable really ou, bix xslt | Thread | Re: [xsl] XSL Help!!, Gunther Schadow |
[xsl] is the variable really out of, bix xslt | Date | Re: [xsl] sequential navigation pro, David Carlisle |
Month |