Code Search for Developers
 
 
  

FeatureInfo.xsl from ThinkCap Collaborative Knowledge Portal at Krugle


Show FeatureInfo.xsl syntax highlighted

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:output method="xml" encoding="utf-8"/><xsl:param name="modelId"/><xsl:param name="widgetId"/><xsl:template match="/*"><div class="featureLayer"><div class="layerTitle">Layer</div><br/><form><xsl:apply-templates/></form></div></xsl:template><xsl:template match="*"><xsl:variable name="xlink"><xsl:call-template name="getXpath"><xsl:with-param name="node" select="."/></xsl:call-template></xsl:variable><xsl:if test="not(./*)"><div class="record"><div class="name"><xsl:value-of select="name(.)"/></div><div class="value"><input type="text" id="{$widgetId}{generate-id()}" value="{text()}" readonly="readonly"/></div></div></xsl:if><xsl:if test="./*"><xsl:apply-templates/></xsl:if></xsl:template><xsl:template name="getXpath"><xsl:param name="node"/><xsl:if test="name($node/..)"><xsl:call-template name="getXpath"><xsl:with-param name="node" select="$node/.."/></xsl:call-template></xsl:if><xsl:text>/</xsl:text><xsl:value-of select="name($node)"/></xsl:template><xsl:template match="comment()|text()|processing-instruction()"/></xsl:stylesheet>




See more files for this project here

ThinkCap Collaborative Knowledge Portal

A portal to explore and edit the knowledge contained in a set of ontologies in intuitive ways. Presents a Dictionary view (a Google-like interface), a Thesaurus view (a graphical display with simplified relationships) and a full graphical Concept view.

Project homepage: http://sourceforge.net/projects/thinkcap
Programming language(s): Java,JavaScript,XML
License: other

  Abstract.xsl
  AoiBox2.js
  AoiBoxDHTML.js
  AoiBoxWZ.js
  AoiForm.js
  AoiForm.xsl
  Back.js
  Button.js
  Button.xsl
  ButtonBase.js
  CatSearchForm.js
  CatSearchForm.xsl
  CdnWatershedForm.xsl
  CollectionList.js
  CollectionList.xsl
  CursorTrack.js
  CursorTrack.xsl
  DeleteFeature.js
  DragPan.js
  EditButtonBase.js
  EditLine.js
  EditLine_1.js
  EditPoint.js
  EditPoint_1.js
  EditPolygon.js
  EventLog.xsl
  FeatureInfo.js
  FeatureInfo.xsl
  FeatureList.js
  FeatureList.xsl
  FilterAttributes.js
  FilterAttributes.xsl
  Forward.js
  GetFeatureInfo.js
  Gml2ScreenCoords.xsl
  GmlCooordinates2Coord.xsl
  GmlPointRenderer.js
  GmlRenderer.js
  GmlRenderer.xsl
  GmlRendererSVG.js
  GmlRendererSVG.xsl
  GmlRendererTest.js
  GmlRendererTest.xsl
  GmlRendererWKT.js
  GmlRendererWKT.xsl
  GmlRendererWZ.js
  GmlRendererWZ.xsl
  InsertFeature.js
  LayerControl.js
  LayerControl.xsl
  Legend.js
  Legend.xsl
  Loading.js
  Loading.xsl
  Loading2.js
  Locations.js
  Locations.xsl
  MapContainerBase.js
  MapImage.js
  MapImage.xsl
  MapPane.js
  MapPane.xsl
  MapScaleBar.js
  MapScaleText.js
  MapScaleText.xsl
  MapTitle.xsl
  ModelStatus.js
  ModelStatus.xsl
  ModelSwitcher.js
  ModelUrlInput.js
  ModelUrlInput.xsl
  NtsForm.xsl
  Null.xsl
  Reset.js
  Save.js
  SaveModel.js
  SaveModel.xsl
  SearchForm.xsl
  SelectAllMapLayers.xsl
  SelectFeatureType.xsl
  SelectMapLayers.xsl
  SelectTimeFrame.js
  SelectTimeFrame.xsl
  ServiceRegistryList.js
  ServiceRegistryList.xsl
  SetAoi.js
  TabbedContent.js
  TabbedContent.xsl
  TimeSeries.js
  Timestamp.js
  Timestamp.xsl
  TransactionResponse.js
  TransactionResponse.xsl
  Version.xsl
  WebServiceForm.js
  WfsGetFeature.js
  Widget.js
  WidgetBase.js
  WidgetBase.js.txt
  WidgetBaseWZ.js