suramon / simplexmlreader Goto Github PK
View Code? Open in Web Editor NEWInterface for the PHP XML Pull parser XMLReader that adds super-simplified xpath functionality
License: Do What The F*ck You Want To Public License
Interface for the PHP XML Pull parser XMLReader that adds super-simplified xpath functionality
License: Do What The F*ck You Want To Public License
`
11293
Can i get attribute in view
key_name=>value
Now i can get
foreach ($offer->param as $key=> $item) { echo "name:".$item."<br>"; }
[0]=>XiaoMi
[1]=>4G Smartphone
Can i get
[Brand]=>XiaoMi
[Type]=>4G Smartphone
Hey, i found your library similar name SimpleXml Reader: https://github.com/dkrnl/SimpleXMLReader.
:)
From php 7.0.20 and php 7.1.6, I get a warning whenever using SimpleXmlReader (v1.2.1);
Warning: Declaration of SimpleXmlReader\ExceptionThrowingXMLReader::expand(?DOMNode $baseNode = NULL) should be compatible with XMLReader::expand($basenode = NULL) in /vendor/suramon/simple-xml-reader/src/SimpleXmlReader/ExceptionThrowingXMLReader.php on line 61
In earlier versions of php, this didn't happen. I'm not entirely sure if this is a bug in PHP, or in SimpleXmlReader.
See https://github.com/ComaVN/simplexmlreader_issue for a reproducible example.
Hi @SuRaMoN ,
I am getting this error now: Cannot make static method XMLReader::open() non static in class SimpleXmlReader\ExceptionThrowingXMLReader
when using the SimpleXmlReader::openFromString
Some debug information:
platform: Mac
php: 7.4
Thoughts?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.