Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > xslt

Reply
 
 
Asper Faner
Guest
Posts: n/a
 
      11-23-2006
i only want to parse simple xml using xsl but fails
i installed xerces and xalan. set up env-path but still unable to
java-org.etc.
error is org.ect.... exception main thread.

thanks

 
Reply With Quote
 
 
 
 
Joe Kesselman
Guest
Posts: n/a
 
      11-23-2006
I presume you meant process XML using XSLT, not "parse". If you just
want to parse it, all you need is a parser.

You didn't say what your document looks like, or what your classpath
looks like, or exactly what the error is. We can't help you without details.

Note that since you're using the Apache tools, the best place to start
when looking for advice is Apache's website and mailing lists. If you
read their Xalan frequently-asked-questions list, you'll find a bunch of
suggestions covering the most common usage errors. I'd bet that your
problem is one of those, if it isn't in your own files. There are a few
subtleties in using Xerces and Xalan due to some mistakes Sun make in
how they incorporated (an old version of) those tools into the standard
Java libraries; you need to take some additional steps to suppress the
old versions to keep them from getting tangled with new copies.



--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
 
Reply With Quote
 
 
 
 
Asper Faner
Guest
Posts: n/a
 
      11-23-2006

Joe Kesselman wrote:
> There are a few
> subtleties in using Xerces and Xalan due to some mistakes Sun make in
> how they incorporated (an old version of) those tools into the standard
> Java libraries; you need to take some additional steps to suppress the
> old versions to keep them from getting tangled with new copies.
>


That's really mindful.
Old versions are truly 'old' copycats from previous versions.
They pay attention only to extremely tiny points as their main cultural
views and forget as always the generalized models or that is the only
way to bring them still up before others by hurting the latters
selfishly.

I was trying to use unicode for the Chinese characters but this Chiny
is just a messy sticking up character to character for life. I knew
something new at least but my emotional intent turned me to be stupid.
I failed to express how the Kanji was displayed in my XML file, but no
regret, because it's just a tiny file I would like to process in some
later Operation Research's data files, the xml file isn't actually able
to act as a good service in processing. This is NOT what I conclude
from my hate viewpoint, I don't hate or dislike if my program fails. I
am truthful, I shouldn't say something bad about some xmls because at
least they are what I am working on, but you are up there and perhaps
partially or fully you know and are able to evaluate better.

Thanks Joe, I would do as what you say, I'll try to take *more and more
additional steps* to completely suppress those old versions, no matter
what'll happen then, it's a way for me to learn new behaviors of
different files anyway.
I am pretty imaginative, sorry, heh

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Including XSLT/XML document within a XSLT document dar_imiro@hotmail.com XML 4 12-13-2005 02:26 AM
Multiple XSLT Transforms using a Controller XSLT sneill@mxlogic.com XML 2 10-19-2005 11:00 AM
ANN: New low-cost XML Editor, XSLT Editor, XSLT Debugger, DTD/Schema Editor Stylus Studio Java 0 08-03-2004 03:53 PM
xslt alone or xslt/java for static site? ted XML 1 01-26-2004 10:41 AM
[XSLT]Passing values from Javascript to a XSLT variable Benjamin Hillsley XML 3 09-25-2003 04:50 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57