skip to Main Content

Html – XPath for colspan attribute values as browser understands them?

I have a HTML table with possibly missing or malformed colspan values: <table border="1"> <tbody> <tr> <th>A</th><th>B</th><th>C</th><th>D</th> <th>E</th><th>F</th><th>G</th><th>H</th> <th>I</th><th>J</th><th>K</th><th>L</th> <th>M</th><th>N</th><th>O</th><th>P</th> </tr> <tr> <td > 0</td> <td colspan="0" > 1</td> <td colspan="2" > 2</td> <td colspan="-2" > 3</td> <td colspan="+ 2"…

VIEW QUESTION

Optimising a query – PostgreSQL – XPATH

I have the query (PostgreSQL) which works correctly. with xml_test as ( select '<!--Build-Version: 1.564-REVb37dd024a8-20220530T1418--><tns:Message xsi:schemaLocation="https://appprod.be/Trivia/documents/Docs/XSDs/v1/T013 T013_v1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://appprod.be/Trivia/documents/Docs/XSDs/v1/T013"> <Header> <Agent>90015299</Agent> <SocialFund>299</SocialFund> <MessageId>T013</MessageId> <Timestamp RequestDate="2022-06-16T23:20:00" ProcessDate="2022-06-16T23:25:20" ResponseDate="2022-06-16T23:25:20"/> <Reference NRK="6e6806740a6ea06d7ca6ae7b31edeb8e" Requestor="90010299"/> <Result>OK</Result> <ReturnCode>ResponseOnly</ReturnCode> </Header> <Body> <Request> <TransmissionMethod>BULK</TransmissionMethod> <SocialFundCode>299</SocialFundCode> <FileNumber>9913894</FileNumber> <FiscalYear>2020</FiscalYear> <FiscalHouseHolds>…

VIEW QUESTION
Back To Top
Search