php xpath - get last attribute -


If some nongs have accidentally entered the same attribute in more than one tag, then I How can I choose ??? (By default it seems to be the first to select ... I'm not sure how the specialty hierarchy works in HTML?)

Use the example below. .

query: ". / / Hrref" Tags:
Expected Result: "2.html"
Result: "1.html"

Then you receive a

 warning: DOMDocument :: loadXML (): defined in the load on the feature href href = (load) 
Message / load xml ()
:

When more than one definition The given element is provided for the same type of type, then the first declaration is binding and subsequently the announcements are ignored.

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -