I have a XML with this structure:
<?xml version="1.0" encoding="windows-1251"?>
<?xml-stylesheet type="text/xsl" href="25-1.xsl"?>
<movies>
<movie id="1">
<title>Matrix</title>
<characters>
<character>
<name>Tomas Anderson</name>
<actor>Keanu Reeves</actor>
</character>
</characters>
<plot>
Action
</plot>
<rating type="stars">5</rating>
</movie>
<movies>
I'm using cheerio lib to access DOM of this XML and I know how to get values from tags.
However, I dont know how to get and change data from <xml version="1.0" encoding="windows-1251"> <?xml-stylesheet type="text/xsl" href="25-1.xsl"?>
Is it even possbile to access to these intruction tags by cheerio?
via Mr.D
No comments:
Post a Comment