|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl templates, Removing spurious namespace declara
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
|
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
|

Cart








