|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Newbie - trying to extract specific values from XM
Hi Charles, > <xsl:template match="Answer[@name='Female']"> > <!-- Your code here --> > </xsl:template> > > <xsl:template match="Answer[@name='ticdesc']"> > <xsl:value-of select="TextValue" /> > </xsl:template> OK, I see what you are doing. Is it better to split each named item up into a different templates? In most cases I need to either add the value of a named item to a page or check the value of a named item (e.g. Female) and then adjust the content accordingly. Sometimes when I am checking the value of a named item it can result in large chunks of content being changed that will in turn include other named values. Does this make sense? -- Cheers, Julian Voelcker United Kingdom 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
|

Cart








