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
Post a Comment