swish-0.3.0.1: A semantic web toolkit.

PortabilityH98
Stabilityexperimental
MaintainerDouglas Burke

Swish.Utils.QName

Description

This module defines an algebraic datatype for qualified names (QNames).

Synopsis

Documentation

data QName Source

Constructors

QName 

Fields

qnNsuri :: String
 
qnLocal :: String
 

Instances

qnameFromFilePath :: FilePath -> IO QNameSource

Convert a filepath to a file: URI stored in a QName. If the input file path is relative then the working directory is used to convert it into an absolute path.

If the input represents a directory then it *must* end in the directory separator - e.g. "/foo/bar/" rather than "/foo/bar" for Posix systems.

This has not been tested on Windows.