Subject: Re: [xsl] XPATH problem From: "Sam Byland" <shbyland@xxxxxxxxxxx> Date: Fri, 07 Nov 2008 10:52:35 -0500 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter, If I interpret this statement of yours correctly: "there exists a <REDUCEDI> element in an any <Instance> below the current <Student>", with "below" being the operative word, then try this: <xsl:for-each select="s0:Institution/s0:Student"> ... <xsl:if test="following-sibling::*[1][local-name() = 'REDUCEDI'][.='00' or .='04']"> <FNAMES> ... </FNAMES> </xsl:if> ... </xsl:for-each> Otherwise, as David pointed out, we'll need to see more of your XSLT, plus a small sample of your input XML, and your desired results... Cheers, ...sam -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.0.6 (Build 6060) iQA/AwUBSRRkRMdHxh74P5pFEQKtQgCgk4MyL7mCLOvxWXtBR7+SDedITxUAn3Fl VX3mWeYzEi4wFOrzFrn3YNnU =/o14 -----END PGP SIGNATURE-----
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XPATH problem, David Carlisle | Thread | RE: [xsl] XPATH problem, Bradley, Peter |
Re: [xsl] Group by Element based on, Michael Ludwig | Date | RE: [xsl] XPATH problem, Bradley, Peter |
Month |