[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to Validate an XSL

Subject: Re: How to Validate an XSL
From: Richard <richard.lewis@xxxxxxxxx>
Date: Thu, 4 Mar 2004 10:13:57 +0000
validate xsl stylesheet
What exactly is 'Random content'?

Note that you can only put XSL stylesheet elements into an XSL stylesheet; 
this may be the cause of your problem.

Cheers,
Richard

On Thursday 04 Mar 2004 09:43, Animesh Sharma wrote:
> Hi,
>
> Is there an way through which I can validate whether an given XSL is valid
> or not programitically.
>
> I have followin XSL:
> <?xml version= "1.0" encoding= "UTF-8" ?>
> <xsl:stylesheet version= "1.0" xmlns:xsl=
> "http://www.w3.org/1999/XSL/Transform" xmlns:fo=
> "http://www.w3.org/1999/XSL/Format"> <xsl:output encoding="UTF-8"
> method="xml"/>
> <xsl:template
> match="//body/root/form/div/center/table[position()=2]/tbody/tr[position()=
>1]/td[position()=8]/input" priority="1"/>
>
> <xsl:template
> match="//body/root/form/div/center/table[position()=2]/tbody/tr[position()=
>1]/input[position()=1]" priority="1"/> <xsl:template match="*|text()|@*">
> <xsl:copy>
> <xsl:apply-templates select="*|text()|@*"/>
> </xsl:copy>
> </xsl:template>
> Random Content
> </xsl:stylesheet >
>
>
> This is a perfect XML. and can be loaded into DOM object. but once I tried
> to apply this XSL over an XML it gives me an error because it is not a
> valid XSL. See text appears in the last.
>
> Thanks in anticipatio of help,
>
> Animesh
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.