[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Why "value-of "cannot work?
I wrote an xml document and an xsl blow,and they were in the same directory.I wanted to see the result ---Fred Smith on my screan.But i was disappointed. XML:cc.xml <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="cc.xsl"?> <family> <person> <given-name age="10">Fred</given-name> <family-name>Smith</family-name> </person> </family> XSL: cc.xsl <xsl:stylesheet xmlns:xsl="www.3org.com/TR/WD-xsl"> <xsl:template match="/"> <xsl:template match="person"> <p> <xsl:value-of select="person/given-name" /> <xsl:value-of match="family-name" /> </p> </xsl:template> </xsl:template> </xsl:stylesheet> best regard amy XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|