XPointer spec talks about ranges that, as far as I understand, mean you can target two nodes in an XML document and get everything in between them or something. Do people really use this? What is it useful for?
What's the point (no-pun) of XPointer ranges?
220 Views Asked by Ollie Saunders At
1
There are 1 best solutions below
Related Questions in XML
- Impose component restriction to a series of parsys-CQ
- Wrong xml being inflated android
- Shorten the XSD
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Magento custom block. Can't get block's file
- Layout not shifting up when keyboard is open
- CSV to XML XSLT: How to quote excape
- Getting deeply embedded XML element values
- Saving FileSystemInfo Array to File
- how to apply templates within xsl:for-each
- Spring - configure Jboss Intros for xml with java config?
- Problems with implementing custom actionbar android
- Can Apache Ant be told to cache its XML files?
- Is Log4j2 xml configuration case sensitive?
- How to get a specific node value in XML Pull Parser
Related Questions in RANGE
- Type Mismatch in passing Cells(3,4) as a Range argument
- VBA, moving some range down, if not matching time
- Search list for objects valid in a time range
- How do you use a range of numbers in an if statement in livecode?
- Process a list with a loop, taking 100 elements each time and automatically less than 100 at the end of the list
- Ionic - Disable Range Selection with Toggle
- Change range in chart from userform input
- Scala: how to create an "eager evaluated" list with many elements?
- How to select a range of my table
- Parameters required to reconstruct Range object creation
- Calculate Camera tilt angle
- excel 2013 vba code statement to Convert a table numeric cell type (2,4) into text cell type D2
- oracle sql - finding entries with dates (start/end column) overlap
- TextRange.getBoundingClientRect on PDF.js is giving all zeros in IE10/IE11
- Finding if a group of possible times falls within another range.
Related Questions in XPOINTER
- Use/include a value from another node
- XLink & XPointer in real world app
- What's the point (no-pun) of XPointer ranges?
- XML with recursive XInclude statements
- XPath - select all elements except element (and it's subelements) with given attribute
- Can XPointer "follow" links?
- XPointers in SVG
- Java library supporting XPointer with the xpointer() scheme?
- what use does xslt,xpath,xlink,xpointer,dtd have in the real world of application building
- Xpointer: is it possible to select an empty node-set?
- Sign XML with particular xpointer reference Java
- XML signature: Verify that all required elements have been signed
- Trying to use XInclude with Java and resolving the fragment with xml:id
- XML referencing to an id with # or not?
- Linking with Xlink to "#link"?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I have never used this, actually. But when I work with XSLT, I quite often find myself needing a way of expressing a range (i.e., "select all nodes from xpathX to xpathY") and a bit depending on the structure, it is quite hard to do this correct. Like I said, I don't use it, but if I could apply XPointer in my projects, I would use it if this feature was implemented.
You ask what it is useful for. A simple example: consider a log file. You can simply request a range from point X to Y (i.e., a date range), which can be far easier then the classical approach with XPath. I.e., it is easier and clearer to express.