[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPath equivalent of a join
Your input XML is not as per the XML spec (there should be double quotes around attribute values). If the above error is corrected in the XML, I found the following solution to work: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="xml" indent="yes" /> <xsl:template match="/root"> <result> <xsl:copy-of select="class[teacher = ../teacher[gender = 'female']/@id]" /> </result> </xsl:template> </xsl:stylesheet> On 7/14/07, Aaron Luke <bluenike@xxxxxxxxx> wrote: Hi all- -- Regards, Mukul Gandhi
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|