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

RE: xsl templates, Removing spurious namespace declara

Subject: RE: xsl templates, Removing spurious namespace declarations in output elements
From: "Tim Wilkins" <Tim.Wilkins@xxxxxxxxxxxxxxxx>
Date: Tue, 8 Apr 2003 19:36:43 +0100
tim wilkins txt
David Carlisle wrote:
> If your input has "xmlns:gml="http://www.opengis.net/gml"
> then where is the gml: prefix used?

The file in question is intended to translate from GML (Geography Markup
Language) to the data format used by our own software.  GML is intended to
be extended, and this has been done by the Ordnance Survey in the UK, for
example.  The multi-stage process is so that the last stage only depends
upon GML and our final output format.  A previous stage will depend upon the
precise customisation, but can add elements in out final output format to
the data, which I then need to copy without any changes.

For another example, I might want to convert

<gml:coord>
<gml:X>123</gml:X>
<gml:Y>456</gml:Y>
</gml:coord>

to

<Point X="123" Y="456" />

The Attribute element referred to earlier contains a text element, which is
simply set to the value of an attribute of an Ordnance Survey element as in,

<Attribute Mnemonic="name" Type="Text">
<TextValue>a value</TextValue>
</Attribute>

Tim


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.