[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Obtaining Graphic File Widths
> select="document('C:\My_SVG.svg')/ That should give an error about an unknown URI scheme C. Like most external identifiers in XML/XSLT document() takes a URI not a windows file path. The URI to a file on your local machine is something like file:///C:/My_SVG.svg that is, using the file: URI schema (rather than http: etc) and using / not \. Unless you have a catalogue in place you probably don't want <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> at the top of your files, as this will entail the system fetching and reading the dtd from the remote site each time which may (or may not, depending on whether your system caches the file) take longer than the actual transform stage. David
|
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
|