You got it Edward. Thanks! I should have looked at the namespace first.
Again, noob. Thanks again.
On Fri, Dec 16, 2011 at 4:00 PM, Edward Mac Gillavry <
[email protected]> wrote:
> Just wondering: did you reference the xlink namespace in the
> StyledLayerDescriptor tag of the SLD file? Like so:
>
> <StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld"
> xmlns:ogc="http://www.opengis.net/ogc"
> xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.opengis.net/sld
> http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
>
> I 've also attached a small snippet of an SLD that uses an external
> graphic.
>
> Rrgards,
>
> Edward
>
> ------------------------------
> Date: Fri, 16 Dec 2011 11:10:42 -0500
> From: [email protected]
> To: [email protected]
> Subject: [Geoserver-users] SLD XML Formatting <OnlineResource>
>
>
> Noob here...
>
> Trying to define a style with a multitude rules and symbols I've designed
> as PNG files. I have the following in my XML within the ExternalGraphic
> tag:
>
> <OnlineResource xlink:type="simple" xlink:href="deldot/relamp.png" />
> <Format>image/png</Format>
>
> Taken almost directly from GS Docs.
>
> Cannot get the XML to validate, returns the following...
>
> "org.xml.sax.SAXParseException: The prefix "xlink" for attribute
> "xlink:type" associated with an element type "OnlineResource" is not bound."
>
> Im at a loss.
>
> Thanks for any help!
>
> --
> *Jason M. Wheatley, GISP
> *
>
> ------------------------------------------------------------------------------
> Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a
> special Learn Windows Azure training event for developers. It will provide
> a great way to learn Windows Azure and what it provides. You can attend the
> event by watching it streamed LIVE online. Learn more at
> http://p.sf.net/sfu/ms-windowsazure
> _______________________________________________ Geoserver-users mailing
> list [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
*Jason M. Wheatley, GISP*
Senior GIS Analyst
Century Engineering, Inc.
Hunt Valley, Maryland
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users