[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

gml transformation

Subject: gml transformation
From: "sarra hamdi" <hacker249@xxxxxxxxx>
Date: Thu, 20 May 2004 11:02:28 -0400
gml srs
hello,
I m newbie in xsl. I have a gml(geography Markup Language)file that 
I tried to transform it to svg format using xslt but the result is always a white page.

from this can you help me to construct the xsl file corresponding 
for this attached gml file because Ihave problem to extract the coordinates of the two lines.
Thanks advanced.


<?xml version="1.0" encoding="UTF-8"?>
<!-- File: cambridge.xml -->
<CityModel xmlns="http://www.opengis.net/examples" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/examples  D:\schemas\City.xsd">
	<gml:name>Cambridge</gml:name>
	<gml:boundedBy>
		<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
			<gml:coord>
				<gml:X>0.0</gml:X>
				<gml:Y>0.0</gml:Y>
			</gml:coord>
			<gml:coord>
				<gml:X>100.0</gml:X>
				<gml:Y>100.0</gml:Y>
			</gml:coord>
		</gml:Box>
	</gml:boundedBy>
	<cityMember>
		<River>
			<gml:description>The river that runs through Cambridge.</gml:description>
			<gml:name>Cam</gml:name>
			<gml:centerLineOf>
				<gml:LineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
					<gml:coordinates>0,50 70,60 100,50</gml:coordinates>
				</gml:LineString>
			</gml:centerLineOf>
		</River>
	</cityMember>
	<cityMember>
		<Road>
			<gml:name>M11</gml:name>
			<linearGeometry>
				<gml:LineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
					<gml:coordinates>0,5 20.6,10.7 80.5,60.9</gml:coordinates>
				</gml:LineString>
			</linearGeometry>
			<classification>motorway</classification>
			<number>11</number>
		</Road>
	</cityMember>
	<cityMember xlink:type="simple" xlink:title="Trinity Lane" xlink:href="http://www.foo.net/cgi-bin/wfs?FeatureID=C10239" gml:remoteSchema="city.xsd#xpointer(//complexType[@name='RoadType'])"/>
	<dateCreated>2000-11</dateCreated>
</CityModel>




____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.