473,569 Members | 2,756 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tricky XML application?


I am currently doing quite a bit of work on a data exchange format in
XML. As part of this I need to use XLink and XPointer attributes quite
frequently as one of the requirements is for the data in the documents
to be 'linked' to its source. Currently, as far as I'm aware there is
very little (if any) software/browser support for XPointer.

My question is that would it be possible (and if so how difficult) for
me to write a small application which could use the XPointer stuff. ie.
you could load an XML document into it and through some sort of very
simple interface it could say retrieve the source of the required data
when asked to and display it in another frame for example?

What are everyone's views on this? How difficult would it be to write,
and if not too difficult what language would you recommend writing it
in, I'm guessing either Java or VB?
Thanks!!!

Nov 28 '05 #1
8 1163
steve_marjoriba nks wrote:

I am currently doing quite a bit of work on a data exchange format in
XML. As part of this I need to use XLink and XPointer attributes quite
frequently as one of the requirements is for the data in the documents
to be 'linked' to its source. Currently, as far as I'm aware there is
very little (if any) software/browser support for XPointer.
XPointer is based on the Extended Pointer Notation as defined in the
Guidelines of the Text Encoding Initiative (www.tei-c.org). The only
freely-available implementation I know of is David Megginson's Emacs
psgml-xpointer.el which returns an XPointer for the current node (ie
where the cursor is). See
http://www.oasis-open.org/cover/meggXPointerEmacs.html
My question is that would it be possible (and if so how difficult) for
me to write a small application which could use the XPointer stuff.
ie. you could load an XML document into it and through some sort of
very simple interface it could say retrieve the source of the required
data when asked to and display it in another frame for example?
Would this be similar to what xpathtester already does for XPaths?
See http://www.xslt.com/html/xsl-list/2001-12/msg00055.html

See also the FAQ at http://xml.silmaril.ie/authors/links/ where I give
a trivial example.
What are everyone's views on this? How difficult would it be to write,
and if not too difficult what language would you recommend writing it
in, I'm guessing either Java or VB?


VB would be restricted to Microsoft users only and would be strongly
deprecated. Java would have much wider application.

///Peter
--
XML FAQ: http://xml.silmaril.ie/
Nov 29 '05 #2
Thanks for the response. I couldn't fine the Emacs psgml-xpointer.el on
the site. Also the Fivesight website, or at least the downloads section
doesn't seem to want to load. From the description in the discussion
post you posted though it does sound similar to what I am after but I
am considering writing an XPointer visualiser. Being very new to Java,
does anyone have any idea how easy this would be to implement?
Thanks

Nov 29 '05 #3
steve_marjoriba nks wrote:
Thanks for the response. I couldn't fine the Emacs psgml-xpointer.el
on the site.
I'm sorry, my finger must have slipped.
It's at http://www.oasis-open.org/cover/psgm...l-19990304.txt
Also the Fivesight website, or at least the downloads
section doesn't seem to want to load.
I've placed a copy at http://xml.silmaril.ie/xpathtester_1_4_saxon.jar
From the description in the
discussion post you posted though it does sound similar to what I am
after but I am considering writing an XPointer visualiser.


XPathTester is an XPath visualizer.

///Peter
--
XML FAQ: http://xml.silmaril.ie/

Nov 29 '05 #4
Thank you. Is there any documentation for XPathTester?

Nov 30 '05 #5
steve_marjoriba nks wrote:
Thank you. Is there any documentation for XPathTester?


I've never seen any, but all it does is open an XML document and let
you type an XPath statement, and highlight the matching node[s].

///Peter

Nov 30 '05 #6
Mozilla/Firefox already include pretty good XLink and XPointer
support:
http://www.mozilla.org/newlayout/xml/#linking

ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Dec 1 '05 #7
Ok, thank you

Dec 2 '05 #8
Ok, thank you

Dec 2 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1166
by: Piotr Szukalski | last post by:
Hi! I have a quite tricky question about .NET debugger: do I need to install the whole SDK to make SDK CLR debugger working? The situation is as follows: I have an application deployed to 130 computers and everywhere it works just fine. Everywhere but two machines... _important_ machines... I see there is no other way to sit by the...
7
2425
by: VB Programmer | last post by:
I am using the BitBlt operation to capture various controls into jpegs. It's almost like a screen capture, but of just the control. (This is a VB.NET application.) Because of BitBlt limitations I know that the application has to always be on top. The problem: I am running this application on a Windows Server 2003 PC. The server is in...
0
307
by: Piotr Szukalski | last post by:
Hi! I have a quite tricky question about .NET debugger: do I need to install the whole SDK to make SDK CLR debugger working? The situation is as follows: I have an application deployed to 130 computers and everywhere it works just fine. Everywhere but two machines... _important_ machines... I see there is no other way to sit by the...
2
2151
by: Martin Arvidsson, Visual Systems AB | last post by:
Hi! I have a string containing this information: Including file: Myfile.fle (C:\Program Files\Application\Source\Myfile.fle) After myfile.fle there are three spaces! Since i use the folowing:
9
2348
by: raylopez99 | last post by:
Just an observation: pens for drawing lines in Win Forms are tricky when assignment is inside the paint handler. inside of the Paint handler, but not inside a "using" brace (that is, outside of "using { Pen mypen = new Pen(Color.Black, 1)) {}), which I think makes a difference: I find the following assignment does not work: ...
0
7697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7968
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6283
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.