Re: Tricky XML application?



steve_marjoribanks 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/
.



Relevant Pages

  • ANN: Mvp.Xml library v1.0 released (Common, XInclude.NET and XPointer.NET modules)
    ... XML Web Services worldwide. ... Mvp.Xml.Common and Mvp.Xml.Common.XPath namespaces, which extend the ... Inclusions 1.0 Recommendation and the XPointer Framework ... supports XPointer elementScheme, XPointer xmlnsScheme, XPointer ...
    (microsoft.public.dotnet.xml)
  • Re: [PHP] PHP with XML database
    ... If you simple want to select subtrees from your big XML, ... the XML Files to the filesystem and use XPointer for query. ... The subtree is selected by an XPointer expression. ...
    (php.general)
  • Tricky XML application?
    ... As part of this I need to use XLink and XPointer attributes quite ... 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 ...
    (comp.text.xml)
  • Re: sortcuts in xmlxslt
    ... >> hilz wrote: ... > I looked for XPointer tutorials on the web, and from what it looks like, ... > it is to link to elements in the xml file itself. ... If it's HTML, just generate the name and href attributes. ...
    (comp.text.xml)
  • Re: application communication in xml without webservices?
    ... Java tools that work well with services designed to use cross-platform data ... elements that fall into the intersection of the .NET, Java and XML Schema ... >- webservices remove some of the complexity out of communicating ... >> that standardize how you'll use HTTP so that others who follow in your ...
    (microsoft.public.dotnet.framework.aspnet.webservices)