[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] accessing individual nodes while iterating
Hi, I'm having troubles translating XML into HTML. I can iterate through the WPT nodes, but I get all of the child nodes too. Since I don't want all of the nodes in my output I'd like to format like this: <a href="http://www.geocaching.com/seek/cache_details.aspx?ID=38989">Hunt for the Hideout by Nick & Nora</a> - GC984D Here is a sample of the XML file: <wpt lat="32.725083333" lon="-97.014716667"> <name><![CDATA[GC984D]]></name> <desc><![CDATA[Hunt for the Hideout by Nick & Nora]]></desc> <url><![CDATA[http://www.geocaching.com/seek/cache_details.aspx?ID=38989]]>< /url> <urlname><![CDATA[Cache Details]]></urlname> <sym>Waypoint</sym> <type><![CDATA[geocache]]></type> </wpt> How can you access just the nodes that you want while iterating? Also, how would I work an xsl:sort into the iteration? Thanks! William Nienke 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
|