Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Entertainment > Literary nook > TWARM
Register

Reply
 
LinkBack Thread Tools
Old 01.09.2004, 09:03   #1
★★★★★★★★★★★★★
 
Hrach_Techie's Avatar
 
Join Date: 08 2004
Location: London, UK
Age: 38
Posts: 16,531
Downloads: 8
Uploads: 0
Reputation: 482 | 6
Default An XML Parser Query

Hi ...

I'm looking for an XML parser that manage file entities, i.e., will take in code from the referenced file and put it in the main XML file when parsing so that my XSLT converter doesn't throw up any errors.

At the moment, as I understand it, XSLT converters do not recognize file entities and the converter I'm using at the moment, jEdit, throws up errors refusing to convert to .fo (XML Formatted Object file).

Any help would be much appreciated.
Thanks ...
__________________
Мадмазель, Медам, Месье! "Глория" меняет курс и направляется в Кейптаун! Кому это не нравится будет расстрелян на месте. (с)

http://texneg.livejournal.com
Reply With Quote
Old 01.09.2004, 10:48   #2
Магистр
 
svoy's Avatar
 
Join Date: 11 2003
Location: heart of europe
Age: 38
Posts: 718
Downloads: 41
Uploads: 0
Reputation: 11 | 3
Default

HI as i understood you need an XML parser to parse XML have a look here
http://www.hta-be.bfh.ch/~boillat/sc...x/SAXTree.java
and here
http://www.hta-be.bfh.ch/~boillat/sc...m/DOMTree.java
It is a 2 XML parser first SAX (Simple API for XML) and second DOM(Document Object Model)

I would suggest sax parser it is easier to understand and edit. You need to change something there because it recognise all elements in XML and create xml tree with priorities.
Last week as uni project we made a simple mail2xml and xml2mail programm using Javacc and edited Saxparser.

So tell more info may be I could help.
__________________
http://imagegen.last.fm/Geldropdown-...ks/3/svoy1.gif
If you stop, you die! Doc Miles, Crank
Reply With Quote
Old 01.09.2004, 11:42   #3
★★★★★★★★★★★★★
 
Hrach_Techie's Avatar
 
Join Date: 08 2004
Location: London, UK
Age: 38
Posts: 16,531
Downloads: 8
Uploads: 0
Reputation: 482 | 6
Default

Hey, svoy!

I'll have a crack at it and let you know if it's useful...

Thanks for the pointer!!!!

Quote:
Originally Posted by svoy
HI as i understood you need an XML parser to parse XML have a look here
http://www.hta-be.bfh.ch/~boillat/sc...x/SAXTree.java
and here
http://www.hta-be.bfh.ch/~boillat/sc...m/DOMTree.java
It is a 2 XML parser first SAX (Simple API for XML) and second DOM(Document Object Model)

I would suggest sax parser it is easier to understand and edit. You need to change something there because it recognise all elements in XML and create xml tree with priorities.
Last week as uni project we made a simple mail2xml and xml2mail programm using Javacc and edited Saxparser.

So tell more info may be I could help.
Reply With Quote
Old 01.09.2004, 11:50   #4
Магистр
 
svoy's Avatar
 
Join Date: 11 2003
Location: heart of europe
Age: 38
Posts: 718
Downloads: 41
Uploads: 0
Reputation: 11 | 3
Default

U r welcome, 200 dram!
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 05:43.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.