f



XPath for selecting elements which start with a text node???

Hi all,

I need an XPath which selects all nodes of a specific name which start
with a text node, i.e. I want the expression to select:

<x>
   abcdefg
   <y>hijklmn</y>
</x>

but NOT

<x>
   <y>hijklmn</y>
   abcdefg
</x>

I cant' seem to find the correct expression. Can somebody help?

Thanks,

Thomas

0
7/18/2007 11:12:57 AM
comp.text.xml 8781 articles. 0 followers. Post Follow

7 Replies
764 Views

Similar Articles

[PageSpeed] 37

Thomas Schmidt wrote:
> I need an XPath which selects all nodes of a specific name which start
> with a text node

Node with specific name (x) with a first child that is a text node.

x/node()[0][self::text()]


-- 
() ASCII Ribbon Campaign  | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
0
7/18/2007 11:42:04 AM
Thomas Schmidt wrote:
> I need an XPath which selects all nodes of a specific name which start
> with a text node

Node with specific name (x) with a first child that is a text node.

x/node()[1][self::text()]


-- 
() ASCII Ribbon Campaign  | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
0
7/18/2007 11:42:27 AM
Thomas Schmidt <Bernd.Moos@googlemail.com> wrote in
<1184757177.171349.289160@j4g2000prf.googlegroups.com>:
> I need an XPath which selects all nodes of a specific name
> which start with a text node, i.e. I want the expression
> to select:

x[child::node()[1][self::text()]]

> <x>
>    abcdefg
>    <y>hijklmn</y>
> </x>
> 
> but NOT
> 
> <x>
>    <y>hijklmn</y>
>    abcdefg
> </x>

In both of your examples the first child of the x element is
a text node, though.

-- 
....the pleasure of obedience is pretty thin compared with
the pleasure of hearing a rotten tomato hit someone in the
rear end. -- Garrison Keillor
0
p.lepin1 (393)
7/18/2007 11:49:00 AM
Thomas Schmidt wrote:

> I need an XPath which selects all nodes of a specific name which start
> with a text node, i.e. I want the expression to select:
> 
> <x>
>    abcdefg
>    <y>hijklmn</y>
> </x>
> 
> but NOT
> 
> <x>
>    <y>hijklmn</y>
>    abcdefg
> </x>

Please note that x has as its first child a text node with white space.
So
   //x[node()[1][self::text()]]
holds for both samples.
   //x[node()[1][self::text() and normalize-space(.)]]
does hold for the first sample only.


-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
0
mahotrash (2052)
7/18/2007 11:57:05 AM
> Please note that x has as its first child a text node with white space.

Good point.

-- 
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
0
7/18/2007 1:28:10 PM
Joe Kesselman wrote:
> Node with specific name (x) with a first child that is a text node.
> x/node()[1][self::text()]

Whups. Sloppy; that selects the text node. Pavel's solution is correct 
for the question posed

	x[child::node()[1][self::text()]]

and as Martin pointed out, if you want only non-whitespace textnodes you 
can get that using

	x[child::node()[1][self::text() and normalize-space(.)]]


-- 
() ASCII Ribbon Campaign  | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
0
7/19/2007 4:38:06 AM
> > Please note that x has as its first child a text node with white space.

Yes, I hadn't thought of whitespace... It's working now.

0
7/19/2007 11:24:39 AM
Reply:

Similar Artilces:

XSLT Select nodes without text-node children whose names starts with specifix text
Question on XSL expression Got this XML: <Body> <Page> <Line no="9" detail="true"> <onefield>onefieldstext</onefield> <twofield>twofieldstext</twofield> </Line> <Line no="10" detail="true"> <onefield>onefieldstext</onefield> <fgman9>fgmanfieldstext</fgman9> <twofield>twofieldstext</twofield> </Line> <Line no="11" detail="true"> <onefield>onefieldstext</onefield> <twofield>twofieldstext</twofield> </Line> <Line no="12" detail="true"> <onefield>onefieldstext</onefield> <twofield>twofieldstext</twofield> </Line> <Line no="13" detail="true"> <onefield>onefieldstext</onefield> <fgman5>fgmanfieldstext</fgman5> <twofield>twofieldstext</twofield> </Line> <Line no="14" detail="true"> <onefield>onefieldstext</onefield> <twofield>twofieldstext</twofield> </Line> </Page> </Body> I would select the <Line/> nodes without text-node children whose names is starting with "fgman" - in this example it is all <Line/> _except_ <fgman9/> and <fgman5/> in <Line/> with @no of 10 and 13. I know that this works: &...

how to Update/insert an xml element's text----> (<element> text</element>)
hello friends, how can we update or insert into an xml Element. For example : ------------------- <?xml version="1.0"> <request> <main> <name>ISO8856</name> </main> </request> here when we run a java class file it should replace "ISO8856"with "ISO9001". Any Assistance or example. thanQ in adv. Ajay HANM wrote: > <?xml version="1.0"> > <request> > <main> > <name>ISO8856</name> > </main> > </request> > > here when we run a java class file it should replace "ISO8856"with > "ISO9001". Any Assistance or example. If you use the W3C DOM Level 3 Core as implemented in Java 1.5 and later then you can select the 'name' element and set its textContent e.g. Element name = (Element)xmlDocument.getElementsByTagName("name").item(0); name.setTextContent("ISO09001"); If you use DOM Level 2 Core (as implemente in Java 1.4) then you need to access the firstChild and set its nodeValue Element name = (Element)xmlDocument.getElementsByTagName("name").item(0); name.getFirstChild().setNodeValue("ISO09001"); -- Martin Honnen http://JavaScript.FAQTs.com/ Many good tutorials/articles exist on the web (and some bad ones, alas). I usually point people to http://www.ibm.com/xml -- Joe K...

text-text
Wondering how what I input to my UTF-8 terminal gets passed along through my patched [1] trn ... Cyrillic: А Б В Г Д Е Ж З И Й К Л М Н О П а б в г д е ж з и й к л м н о п IPA: ᴀ ᴁ ᴂ ᴃ ᴄ ᴅ ᴆ ᴇ ᴈ ᴉ ᴊ ᴋ ᴌ ᴍ ᴎ ᴏ ɀ Ɂ ɂ Ƀ Ʉ Ʌ Ɇ ɇ Ɉ ɉ Ɋ ɋ Ɍ ɍ Ɏ ɏ [1] https://groups.google.com/d/msg/comp.sys.raspberry-pi/7Z37Hdrm0DM/6aqD-reXFzAJ ...

text + text
What is "text + text" supposed to do right now? It doesn't seem very useful to me. What about making "text + text" as an equivalent for "text || text"? Most strongly-typed programming languages do this. And MS SQL Server too, I think (CMIIW). -- dave ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org Am Freitag, 8. Oktober 2004 12:57 schrieb David Garamond: > What is "text + text" supposed to do right now? Nothing. > What about making "text + text" as an equivalent for "text > || text"? Most strongly-typed programming languages do this. And MS SQL > Server too, I think (CMIIW). What would this gain except for bloat? It's not like SQL is utterly compatible with any programming language; users will still have to learn all the operators anyway. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match Peter Eisentraut wrote: >>What is "text + text" supposed to do right now? > > Nothing. Then are these bugs? (7.4.5 and 8.0.0beta1 give same results). Frankly, the current behaviour is quite strange to me. ------------------ =...

How to select all texts of the document of the format of the selected text?
Hi,i have selected a text of the document with the specified font face, color and size in MS Word 2000. Now , I want to select all the relevant texts from the entire document with the same format(face,color and size) as of the selected text. so Is there any method or shortcut to do this op.? Not really. You have to "walk" the document checking the styles as you go along. And You have to watch out for cases where the style changes in the middle of a word (!) and code accordingly to get the desired results. chetan26nov@gmail.com wrote: > Hi,i have selected a text of the documen...

How to use XPath to select element with text match
Hello, I've been reading up on xpath and I am able to access elements with it. I haven't been able to figure one thing out though. How would I use XPath to select an element where the text equals what I'm looking for? If I select a book topic (in the traditional of XML examples) of Programming and it returns 200 books, and I want to specifically select books with an element named "topic" text of "C++" what would the xpath be? <books> <category> <topic>Linux</topic> <title>Linux ABC's</title> <desc>The ABC's of Linux</desc> <topic>C++</topic> <title>Beginning C++</title> <desc>C++ programming for beginners</desc> <topic>C++</topic> <title>Patterns in C++</title> <desc>Advanced C++ programming</desc> </category> </books> If I wanted to only select the elements in category matching the topic text of C++, how would I use XPath to achieve this? I thought it would be something like //books/category[topic='C++'] but I get a node test expected error. I'm adding XML support to a VB application and using MSXML6, but I don't think that's relevant to XPath syntax. Thanks. Ah, I just hacked out that XML, just imagine it is p...

XPath selecting elements afer one having a given text
my xml fragment : <select id='aId'> <option>option 1</option> <option>option 2</option> [...] <option>---?---</option> <option>option n + 1</option> <option>option n + 2</option> [...] </select> and i want to set the class attribute of all the options to : add if text() = '---?---' (the easiest case allready done) ; odd if the position() of option is odd and the element is before the one having text() = '---?---' even if the position() is even and before '---?---' odd_edited if position is odd and the element is after '---?---' even_edited if position is even and after '---?---' i did the easiest case like that : add for xhtml://select[@id = 'aId']/xhtml:option[text() = '---?---'] i'm also able to choose odd/even position : xhtml://select[@id = 'aId']/xhtml:option[not(text() = '---?---') and ((position mod 2) = 0)] i knwo that to choose the elements before the element '---?---' i have to do something like : following-sibling::xhtml:option[text() = '---?---'] for the elements before '---?---' and preceeding-sibling for the elements after. BUT what i don't know exactly is how to add this rule to the firsts above ??? -- Une B�vue Une B�vue <unbewusst.sein@google.com.invalid> wrote: > i knwo that to choose the elements before the element '---?---...

xpath to select text nodes and <br>
Hello, I need to select all descendant text nodes and br elements using a xpath query. So this xml: <a> <b>text a</b> text b<br /> <c>text c</c> text d<br /> </a> results in this node list: 1. text a 2. text b 3. <br> 4. text c 5. text d 6. <br> I tried a/descendant::*[text() or self::br] but that got me some weird results. Thanks > I tried a/descendant::*[text() or self::br] but that got me some weird > results. a/descendant::node()[self::text() or self::br] a/descendant::node()[not(node())] sz. On 24. J=FAn, 21:38 h., "szomiz" <szo...@kocha.dostawac.reklamy.przez.net> wrote: > > I tried a/descendant::*[text() or self::br] but that got me some weird > > results. > > a/descendant::node()[self::text() or self::br] > > a/descendant::node()[not(node())] > > sz. Thanks ...

XPath
Hi, I have been experimenting and searching for information on how to retrieve the following using XPath. I may have three types of XML: <n>this is some text</n> OR <n> <p>this is some text</p> </n> OR <n> <p>this is some text</p> <p>some more text</p> </n> OR <n> this is some text <p>some more text</p> </n> The result I need includes ALL of the children and/or text but NOT the node element <n>. Some of the tested xpath queries <xsl:copy-of select="child::text()"/> <xsl:copy-of select="child::*"/> <xsl:copy-of select="self::*"/> <xsl:copy-of select="self::node()"/> <xsl:copy-of select="self::child"/> and of course <xsl:copy-of select="."/> which returns <n>. Any ideas? / jorge In article <1114446763.441590.223130@l41g2000cwc.googlegroups.com>, <jorgedelgadolopez@gmail.com> wrote: >The result I need includes ALL of the children and/or text but NOT the >node element <n>. > >Some of the tested xpath queries > ><xsl:copy-of select="child::text()"/> ><xsl:copy-of select="child::*"/> ><xsl:copy-of select="self::*"/> ><xsl:copy-of select="self::node()"/> ><xsl:copy-of select="self::child"/> > ...

Text nodes and element nodes query
Hi all, The code below gets me a list of all the nodes within the node object called xml_tags_root. NodeList nl = xml_tags_root.getChildNodes(); The length of nodelist I get is double the number of actual elements! This is because after every element node there is text node which is (I think) the whitespace in the XML document. Is there a way to get only the element nodes? Please advice. thanks, ASD Hi, Look at getElementsByTagName(....) Regards, Arnaud "asd" <arvindsd@yahoo.com> a �crit dans le message news: 1116833345.887839.95270@g47g2000cwa.googlegroups.com... &...

Using XPath to retrieve an XML element which contains a given text
This code returns the first dataformat element. And yet the second dataformat is the one containing SPPT. What am I doing wrong? require "rexml/document" include REXML string = <<EOF <dataformats> <dataformat> <fileidentifiers> <fileidentifier>CFMT</fileidentifier> </fileidentifiers> </dataformat> <dataformat> <fileidentifiers> <fileidentifier>SPPT</fileidentifier> </fileidentifiers> </dataformat> </dataformats> EOF doc =...

Text bind command not selecting text
I am putting together a small report editor and need some help with the following problem. I would like the user to type in some text and then later be able to select either all of it or a portion of it for formatting (ie. centering, bold, italic,etc.) by typing in a command like Ctrl-A. The following code is what I came up for this process but for some reason the text does not get selected. Can someone tell why this code doesn't work? ################################################################ # use strict ; use Tk ; use Tk::NoteBook ; my $fTab ; my $mw = MainW...

Deleting selected text from text area
I was wondering if anyone could help. I'm trying to find how to delete text from a selected text Area. I'm a beginner in Java Netbeans. So go easy! This is what I tried but its not happening. int start = 0, end = 1; while ( start < end ) { start = SpeechText.getSelectionStart(); end = SpeechText.getSelectionEnd(); if ( start != end ) remove( SpeechText.getText() ); } tom79l@googlemail.com wrote: > I was wondering if anyone could help. I'm trying to find how to > delete text from a selected text Area. > > I'm a beginn...

XML DOM: XML/XHTML inside a text node
In my program, I get input from the user and insert it into an XHTML document. Sometimes, this input will contain XHTML, but since I'm inserting it as a text node, xml.dom.minidom escapes the angle brackets ('<' becomes '&lt;', '>' becomes '&gt;'). I want to be able to override this behavior cleanly. I know I could pipe the input through a SAX parser and create nodes to insert into the tree, but that seems kind of messy. Is there a better way? Thanks. On Thu, 2 Nov 2005 noahlt@gmail.com wrote: > In my program, I get input from the us...

xslt help needed with element nodes embedded in text node
I'm but an amateur with xsl stylesheets. I need some help to the output of text nodes with embedded element nodes like the following: <uf><ns>This</ns> example</uf> <uf>Another <ns>This</ns> example</uf> <uf>Another <ns>This</ns></uf> I need to output the ns strings in italics. <xsl:apply-templates select="./uf" /> <xsl:template match="ns"> <i><xsl:value-of select="." /></i> </xsl:template> As long as the xml file is exported in lines as above the output is ok: "This example". (In this email I don't indicate the italicised part string.) But lately the document server hosting the application that contains xml files of the sort above changed the export of xml files. Now there are line breaks at each new element boundary: <uf> <ns>This</> example </uf> With my xsl code I get an additional space at the beginning and the end of the phrase: " This example ". I tried to get rid of them with <xsl:template match="text()"> <xsl:value-of select="normalize-space()" /> </xsl:template> But this results in "Thisexample". What is to be done? (There is no option to substitute the mandatory spaces with &#160;). Volker I tried <xsl:strip-space elements="uf" />. It doesn't help either. Volker Volker Le...

file command: "XML document text" vs "XML document text"
I've just used the file command on four files of RDF-XML with the following output: augtfidf.rdf: XML document text kyoto.rdf: XML document text stuff.rdf: XML document text tfidf.rdf: XML document text What does it mean that one of them has an extra space between "XML" and "document"? -- The kid's a hot prospect. He's got a good head for merchandising, an agent who can take you downtown and one of the best urine samples I've seen in a long time. [Dead Kennedys t-shirt] On 16.10.2012 16:06, Adam Funk wrote: > I've just used the file command on four files of RDF-XML with the > following output: > > augtfidf.rdf: XML document text > kyoto.rdf: XML document text > stuff.rdf: XML document text > tfidf.rdf: XML document text > > What does it mean that one of them has an extra space between "XML" > and "document"? Hard to tell without further information. What does file *.rdf | od -c show you? Janis Janis Papanagnou wrote: > On 16.10.2012 16:06, Adam Funk wrote: >> I've just used the file command on four files of RDF-XML with the >> following output: >> >> augtfidf.rdf: XML document text >> kyoto.rdf: XML document text >> stuff.rdf: XML document text >> tfidf.rdf: XML document text >> >> What does it mean that one ...

How do I 'SELECT All' text in a text box
I want to select all text in a multi line text box from a command butten. Thank for help Dave Try this... Private Sub Command1_Click() With Text1 .SelStart = 0 .SelLength = Len(.Text) .SetFocus End With End Sub Rick - MVP "Dave" <last2try@earthlink.net> wrote in message news:fo0b90h0j9imbvntdea3uu2mefth5teufr@4ax.com... > I want to select all text in a multi line text box from a command > butten. > > Thank for help > Dave ...

Using Control-a to select all text in a text widget
I'm having a difficult time binding Control-a so it selects all the text in a widget just like the default Control-/ binding does. I've tried: ..t bind <Control-a> [.t bind <Control-/>] But [.t bind <Control-/>] returns nothing. If I do: ..t bind <Control-/> {puts "Selecting all"} ..t bind <Control-a> [.t bind <Control-/>] When I hit Control-/ I get at the prompt "Selecting all" and all the text is selected. But when I hit Control-a all I get is the "Selecting all" at the prompt and no text is selected. I've also tried: ..t bind <Control-a> {.t tag add sel 1.0 end} And that doesn't work either. In fact, with this code if you do Control-/ and then Control-a it unselects everything. And dumping the tags for the entire region show the tagon/tagoff for sel are gone. Does anyone know the semantics of Control-/? There's got to be more to it. - Ian I've just found this thread: http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/5c1df73696e94962/38ec894e32bafcd2?lnk=gst&q=select+all&rnum=8#38ec894e32bafcd2 Which seems to suggest there's nothing fancy about Control-/. - Ian And to answer my own question, the following works: bind .t <Control-a> {%W tag add sel 1.0 end; break;} - Ian On Wed, 01 Aug 2007 16:54:06 -0000, sniff.scratch@gmail.com wrote: >I'm having a difficult time binding Control-a so it selects all the >text in a w...

How to get selected text from a text edit control?
I created a text edit control using CreateEditTextControl. I can get the current text by calling char buf[256]; Size textSize = 0; GetControlData(controlRef, kControlEditTextPart, kControlEditTextTextTag, 255, buf, &textSize); but how do I get only the text that is currently selected (highlighted)? thanks, Shai In article <1111086224.345185.78280@g14g2000cwa.googlegroups.com>, shai@waves.com wrote: > I created a text edit control using CreateEditTextControl. > I can get the current text by calling > > char buf[256]; > Size textSize = 0; ...

Pages
I have a titel-textfield over a pic (headline) , text is black, background for text transparent. A second textfield should overlapp the first textline..... When i arrange the second field with the same settings like the first, the first text disappear... How can i do, that the second text overpapps the first, all over the pic. Any help appreciated! Thanks for replies! I am german and hope that the engish speaking people understand my problem! Soory! Gerd In article <611db9e2-b085-4fe5-907a-ca714b0c32dd@m74g2000hsh.googlegroups.com>, hurlebaus <gerd.schenk@freenet.de> wrote:...

Confusing behavior regarding selected text in a text widget
Greetings one and all, I am having trouble understanding how lines of text that have been "selected" in a text widget are placed in the clipboard. Here's what's happening. I have a text widget that contains only lines of text. Some of the lines are covered by a tag that makes them invisible to the user. Specifically, if ".t" is a text widget, I have defined the tag "hide_tag": .t tag configure hide_tag -elide 1 and apply it from start of line through end of line. If one then "selects" lines of text that contain these "invisible" lines and copies them to the clipboard using control-C, all selected lines show up in the clipboard, including the "invisible" ones. I understand why this is happening and, in hindsight, I should have anticipated it, but nonetheless, it is undesirable behavior and needs to be fixed in my application. I've attempted to fix this by binding a proc to the <<Copy>> virtual event and having that proc copy all selected text that is not "invisible" to the clipboard using "clipboard clear" and "clipboard append" commands. Although the proc appears to do the correct thing, i.e., excludes the "invisible" lines, nonetheless, all selected lines, even the "invisible" ones, still appear in the clipboard. Something's going on here and I don't know what it is! Can anyone help? I have attached below example code ...

XPath for selecting the text of an attribute
Hi all, For many of you this may be childishly simple, but the following problem keeps me wondering for almost two hours, so I hope any of you could point out what it is that I am doing wrong. Consider the following simple XML: <?xml version="1.0"? ><rootE><tagA>valueA</tagA><tagB attrB1="attrValueB1" attrB2="attrValueB2"/><tagC><tagCA/><tagCB/><tagCC><tagCCA/><tagCCA/ ><tagCCB>60</tagCCB><tagCCC/></tagCC><tagCD/><tagCE/></tagC></rootE> Now I want to read the value "attrValueB2" so I tried writing a regular expression for it. I know that the following selects the attribute (nicely highlighted by the Liquid XML Studio): /rootE/tagB/ @attrB2 But I cant seem to select the value of this attribute. I get an empty string when quering /rootE/tagB/@attrB2/text() ANY suggestions? I cant see what I'm doing wrong. Everything seems to be fine in comparison with the tutorials I have seen and I tried all the lexical variations / alterations I could think of. Many thanks in advance for any suggestions! Cheers, Paul pjvleeuwen@gmail.com wrote: > Now I want to read the value "attrValueB2" so I tried writing a > regular expression for it. I know that the following selects the > attribute (nicely highlighted by the Liquid XML Studio): /rootE/tagB/ > @attrB2 > But I cant seem to select the value of this attr...

select dom text nodes
Hi, I want to select all the text nodes of an xml document using msxml dom. I tried using the selectNodes method with "//#text" argument. But it fails. Can anybody help please? Thank you. On Apr 13, 11:22 am, avs...@gmail.com wrote: > I want to select all the text nodes of an xml document > using msxml dom. I tried using the selectNodes method > with "//#text" argument. I don't believe there's a selectNodes() method in the W3C DOM specs. Assuming it accepts an XPath expression as an argument, what you need is '//text()'. #text is a nodeName, and is fairly meaningless in the context. Consider reading some sort of XPath tutorial, because invoking magic without understanding how it works is a recipe for disaster, as I can attest from painful personal experiences. -- Pavel Lepin Hey.. Thank you very much. That worked!! I m using MSXML and there is a selectNodes method. Yes, I agree that reading throughly before attempting a task is always the best way to work on something. Once in a while we all come across tasks where we dont have enough time to be thoroughly trained before attempting something. To be fair to me :-), I did go thru the material in MSDN on XPath. Most of it is given in the context of XSLT. That partly obstructed my learning. Inspite of that, I didnt find any reference to selecting all text nodes. After you pointed out, I did check the w3schools tutorial where I found a similar point documented, thanks to you...

Query on text and element nodes
Hi all, The code below gets me a list of all the nodes within the node object called xml_tags_root. NodeList nl = xml_tags_root.getChildNodes(); The length of nodelist I get is double the number of actual elements! This is because after every element node there is text node which is (I think) the whitespace in the XML document. Is there a way to get only the element nodes? Please advice. thanks, ASD arvindsd@yahoo.com wrote: > Hi all, > > The code below gets me a list of all the nodes within the node object > called xml_tags_root. > > NodeList nl = xml_tags_root.getChildNodes(); > > The length of nodelist I get is double the number of actual elements! > This is because after every element node there is text node which is (I > think) the whitespace in the XML document. > > Is there a way to get only the element nodes? Well just loop through them and discard the text-nodes. > Please advice. > > thanks, > ASD > arvindsd@yahoo.com wrote: > The code below gets me a list of all the nodes within the node object > called xml_tags_root. > > NodeList nl = xml_tags_root.getChildNodes(); > > The length of nodelist I get is double the number of actual elements! > This is because after every element node there is text node which is (I > think) the whitespace in the XML document. > > Is there a way to get only the element nodes? Depending on the parser and the API you are using there mig...

Web resources about - XPath for selecting elements which start with a text node??? - comp.text.xml

Consultation Document on the Methods for Selecting the Chief Executive and for Forming the LegCo in 2012 ...
The " Consultation Document on the Methods for Selecting the Chief Executive and for Forming the LegCo in 2012 " was a document published on ...

Voting Machine Caught on Camera Casting Ballot for Democrat when Selecting Republican - YouTube
**UPDATE.... I've heard many reports that this is "just a calibration issue." I will say this... when I went to page 2 and began voting for city ...

Selecting The Right Jeans
Fit, style, cut, colour and wash all factor into the pursuit for great denim.

Clock ticking on selecting successor to Leigh Clifford at Qantas
With Qantas on course to chalk up its largest annual profit since 2008, the question now is whether chairman Leigh Clifford is looking to hang ...

Why are the reserves selecting the team?
Backbenchers are the reserves of the parliamentary system. They are newcomers.

Jackie French: Why selecting the right place for your plants is important
The secret of growing anything easily is to choose the best spot for what you want to grow.

Netflix turns to pirates when selecting new shows
Imagine the surprise, then, when the popular video streaming site admitted that it actually turns to torrenters for inspiration. "With the purchase ...

Boston Marathon bombing trial: Judge, lawyers face challenges in selecting jurors - CTV News
As the second phase of jury selection began in the federal death penalty trial of Boston Marathon bombing suspect Dzhokhar Tsarnaev, it immediately ...

Selecting cabinet one of first orders of business for Trudeau
One of the first orders of business for any new prime minister is picking a cabinet. Who is likely to make the cut?

Agile Analysis, Self-Selecting Teams, TDD & BDD in Methods & Tools Winter 2014 issue
... for software developers, testers and project managers – has just published its Winter 2014 issue that discusses Agile Analysis, Self-Selecting ...

Resources last updated: 3/13/2016 10:01:27 PM