|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: file system or http
Hi Travis, If you use the JAXP interface to Xalan (javax.xml.parsers.SAXParser or javax.xml.parsers.DocumentBuilder depending on if you want a SAX stream or a DOM document), then you can pass those parser interfaces a java.io.InputStream for the source. Alternatively, if you want to use an API which requires a java.net.URL, use java.io.File.toURL() to get a file:// URL. Hope this helps, Kal -- Kal Ahmed, techquila.com XML and Topic Map Consultancy e: kal@t... p: +44 7968 529531 w: www.techquila.com On Thursday 15 August 2002 13:35, Falls, Travis D (CASD, IT) wrote: > hello, > currently we are reading in our channels for out iplanet portal using the > Xalan parser, we get our rdf files using a url connection (http). Is there > a faster way to get at these files, Like directly from the file system? It > looks like the parser wants a url connection. > > > Regards, > > Travis D. Falls > > > This communication, including attachments, is for the exclusive use of > addressee and may contain proprietary, confidential or privileged > information. If you are not the intended recipient, any use, copying, > disclosure, dissemination or distribution is strictly prohibited. If > you are not the intended recipient, please notify the sender > immediately by return email and delete this communication and destroy all > copies. > > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://lists.xml.org/ob/adm.pl>
|
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
|
|||||||||

Cart








