के लिए एक्सएसएल बनाना एक आरएसएस फ़ीड प्रस्तुत करने के लिए मैं एक छोटी सी कस्टम एक्सएसएल फ़ाइल बना रहा हूं। निम्नानुसार सामग्री मूलभूत हैं। यह निष्पक्ष रूप से काम करता है जब स्रोत एक्सएमएल में फीड परिभाषा में 'xmlns = "http://www.w3.org/2005/Atom" पंक्ति होती है। मैं इसे कैसे संबोधित करूं? मैं इस मामले को कैसे खाता है, यह जानने के लिए नामस्थानों के साथ पर्याप्त परिचित नहीं हूं।एटम फ़ीड
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:template match="/" >
<html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<body style="font-family:Arial;font-size:12pt;background-color:#EEEEEE">
<xsl:for-each select="feed/entry">
<div style="background-color:teal;color:white;padding:4px">
<span style="font-weight:bold"><xsl:value-of select="title"/></span> - <xsl:value-of select="author"/>
</div>
<div style="margin-left:20px;margin-bottom:1em;font-size:10pt">
<b><xsl:value-of select="published" /> </b>
<xsl:value-of select="summary" disable-output-escaping="yes" />
</div>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
मुझे यकीन है कि एक्सएचटीएमएल सुरक्षित है - यह एक आंतरिक स्रोत से है। सहायता के लिए धन्यवाद। –