|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: guru prasad
hello guru prasad,
i've included a few examples of what you want to do, but these are very
simple, you should take a look at http://www.dpawson.co.uk
here is the xml file ( test.xml )
-----------------------------------------------
<?xml version="1.0" ?>
<?xml-stylesheet href="test.xsl" type="text/xsl"?>
<test >
<value>this value</value>
</test>
-------------------------------------------------
here is the xsl file ( test.xsl)
-----------------------------------------------
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match="/">
simple copy:<xsl:value-of select="//value"/><br/>
just copy the text:<xsl:value-of select="//value/text()"/><br/>
deep xml copy:<xsl:copy-of select="//value"/><br/>
<xsl:apply-templates select="//value"/>
</xsl:template>
<xsl:template match="value"/>
<xsl:value-of select="node()"/>
</xsl:template>
</xsl:stylesheet>
chow, jim fuller
----- Original Message -----
From: "guru prasad" <guruprasadv@xxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, June 21, 2001 2:09 PM
> hai everybody I who want to work
> on this xslt loop processor.
>
>
>
> my problem is
> 1.I got a xml file which got
> <value>varchar</value>, on run time if my xsl file
> finds <value>varchar</value>,it should generate
> another xml file which contains
> <value>varchar2</value>.
> also it should keep all other
> attributes as it is.
>
>
> 2.I got instant saxon processor
> installed on my machine,would you please tell me how
> to run this xslt loop compiler on this saxon.
>
>
>
>
>
> this project is of utmost
> importance for me and please mail me urgently the
> solution for my problem
>
>
>
>
> matter is of utmost importance
>
> thanks
> guruprasad
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








