Luca - works fine. Many thanks for the help. The maps are done via ArcView - hope to have real-time traffic events on it soon. - Kieran.
Kieran Kirwan Researcher, Transportation and Traffic Engineering Section, Civiele Techniek, TU Delft, Stevinweg 1, 2600GA Delft, Netherlands phone: +31152785061 mobile: +31618913752 -----Original Message----- From: Luca Morandini [mailto:[EMAIL PROTECTED]] Sent: vrijdag 19 april 2002 14:09 To: [EMAIL PROTECTED] Subject: RE: SVG - Including External CSS files K, you should use the proper <xsl:processing-instruction> element to handle PIs, like in: <xsl:processing-instruction name="xml-stylesheet"> href="trafficsvg.css" type="text/css" </xsl:processing-instruction> Best regards, P.S. Nice map, BTW :) --------------------------------------------- Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html --------------------------------------------- > -----Original Message----- > From: Kirwan, K. [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 19, 2002 12:59 PM > To: '[EMAIL PROTECTED]' > Subject: SVG - Including External CSS files > > > I am trying to implement a SVG-based traffic-data system. > I have an example site at > http://130.161.12.237:8080/cocoon/traffic/traf-docs > > You should see my problems under the heading 'Cocoon Questions' > The first of these examples takes > - a XML file and adds SVG elements via the XSL (without > inline-formatting) > These files are shown below the examples (events.xml/basemap1.xsl) > > The second has an SVG with styles provided by an external CSS file. > The crucial difference here is that the SVG file has the > following lines - > ------------------------------------------------------------------ > ---------- > ----------------------------------- > <?xml version="1.0" encoding="iso-8859-1"?> > <?xml-stylesheet href="trafficsvg.css" type="text/css"?> > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN" > "http://www.w3.org/2000/svg10-20000303-stylable"> > <svg id="regiodelft" width="600" height="660" viewBox="0 0 300000 330000"> > .......... > > > How do i get the > <?xml-stylesheet href="trafficsvg.css" type="text/css"?> > tag into BASEMAP1.XSL > > > Thanking you, > Kieran Kirwan > Researcher, > Transportation and Traffic Engineering Section, > Civiele Techniek, TU Delft, > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>