Hi all,
This query is not regarding textpad.
It is about XSL stylesheet. Following tag which is present in my XML file now what I want is to view the following tag in browser could you please let me know what tag will be used in the stylesheet to view it in the browser since the browser doesn't recognise "<?". Following is the input which is in the XML file and the desired output in the browser.
Input
<?textpage num="7" release-num="13"?>
Output
textpage num="7" release-num="13"
Please help.
Rgds,
Prashob
Query about XSL stylesheet
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
afaik you can do that with
(this is untested - and I have no idea how to do it if the target of the processing instruction is not a constant string)
Code: Select all
<xsl:template match="processing-instruction('textpage')">
<xsl:text>textpage </xsl:text><xsl:value-of select="."/>
</xsl:template>