Subject: [xsl] accessing individual nodes while iterating From: "NIENKE, Bill P. - ACCOR-NA" <Nienke_Bill@xxxxxxxxxxxx> Date: Thu, 12 Dec 2002 15:36:22 -0600 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] From 2 original xmls to 1, Raffaele Sena | Thread | RE: [xsl] accessing individual node, Martinez, Brian |
Re: [xsl] About validating post xsl, Mike Brown | Date | RE: [xsl] About validating post xsl, Dion Houston |
Month |