Jump to content
UBot Underground

Xml Xpath Parser


Recommended Posts

Hi,

 

how to make Xpath parser to title and description?

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="css/feed.xsl"?>
<channel>
<title>Sample title 1</title>
<description>sample desc 1</description>
<item>
<title>sample title 2</title>
<description>sample
desc
2
</description>
</item>
</channel>

Link to post
Share on other sites

Title:

alert($plugin function("HTTP post.dll", "$xpath parser", "<?xml version=\"1.0\" encoding=\"utf-8\"?>
<?xml-stylesheet type=\"text/xsl\" href=\"css/feed.xsl\"?>
<channel>
<title>Sample title 1</title>
<description>sample desc 1</description>
<item>
<title>sample title 2</title>
<description>sample  desc 2</description>
</item>
</channel>", "//title", "InnerText", "XML"))

Description:

alert($plugin function("HTTP post.dll", "$xpath parser", "<?xml version=\"1.0\" encoding=\"utf-8\"?>
<?xml-stylesheet type=\"text/xsl\" href=\"css/feed.xsl\"?>
<channel>
<title>Sample title 1</title>
<description>sample desc 1</description>
<item>
<title>sample title 2</title>
<description>sample  desc 2</description>
</item>
</channel>", "//description", "InnerText", "XML"))

 

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...