| View previous topic :: View next topic |
| Author |
Message |
Elevator_Hazard
Joined: 28 Oct 2006 Posts: 297 Location: US
|
Posted: Sun Jan 06, 2008 6:15 pm Post subject: Java Help - XML manipulation with xpath |
|
|
So I understand how to do xpath expressions for the most part, but everything I look up for how to write xml in java using xpath expressions always comes up as how to read the xml with xpath expressions which is not currently what I want to do and it will be simple to learn that because of all the resources I find on the subject of reading it even when I search for how to write it... Does anyone have some example code on this? Any xpath lib would be ok I suppose, I'm pretty new to java as well... _________________ Changed siggy at request of ahklerner  |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Mon Jan 07, 2008 4:52 am Post subject: |
|
|
might try to get you an example later
but
this is ahk not java fyi
till i make you an example might want to read up on saxp
http://www.javacommerce.com/displaypage.jsp?name=saxparser1.sql&id=18232 _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
Elevator_Hazard
Joined: 28 Oct 2006 Posts: 297 Location: US
|
Posted: Mon Jan 07, 2008 5:27 am Post subject: |
|
|
Wow thanks! I'll read up on it, looks like what I wanted so far. Oh wait... Is there anything for writing it with xpath? I could use this but I think maybe the xpath would be easier. Anyways thanks
| tank wrote: |
but
this is ahk not java fyi |
I'm sure its ok, there are some php posts, some java posts, and just plain weird posts here  _________________ Changed siggy at request of ahklerner  |
|
| Back to top |
|
 |
trik
Joined: 15 Jul 2007 Posts: 1320
|
Posted: Mon Jan 07, 2008 5:30 am Post subject: |
|
|
Glad to see you finally got your answer; ask me if you have any questions, I have a few internet friends that owe me some favors.
| Elevator_Hazard wrote: | and just plain weird posts here  |
Weird posts ftw  _________________ Religion is false. >_> |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Mon Jan 07, 2008 3:00 pm Post subject: |
|
|
http://www.exampledepot.com/egs/org.w3c.dom/AddText.html
might provide you a little more clarification _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
|