Subject: [xsl] Help needed with converting to (patterned) Element content to sub-elements only From: Ken Starks <ken@xxxxxxxxxxxxxxxxxxxxx> Date: Fri, 23 Jan 2009 18:35:14 +0000 |
The input file includes <coordinate> elements of the form <coordinate> aaa,bbb,ccc ddd,eee,fff ggg,hhh jjj,kkk,lll </coordinate>
of which the content, when left and right stripped, is a whitespace-separated sequence of points; each point being a comma-separated sequence of either two or three numbers.
All <coordinate> elements are to be replaced, in the output file, by elements of the form:
<FullCoordinates datum="WGS84" > <Point longitude="aaa" latitude="bbb" ht_above_geoid="ccc"> <Point longitude="ddd" latitude="eee" ht_above_geoid="fff"> <Point longitude="ggg" latitude="hhh"> <Point longitude="jjj" latitude="kkk" ht_above_geoid="lll"> </FullCoordinates>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Passing a node related to the, Martynas Jusevicius | Thread | Re: [xsl] Help needed with converti, George Cristian Bina |
Re: [xsl] grouping like items into , Fred Christian | Date | [xsl] Changing a Tree Walking, forw, Graeme Kidd |
Month |