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!!! 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/
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
Thank you. Is there any documentation for XPathTester?
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
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] This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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...
|
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...
|
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:
|
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:
...
| |
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...
|
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. ...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |