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

Validation XSLT using XSLT 1.0

Subject: Validation XSLT using XSLT 1.0
From: "Ganesh Babu N" <nbabuganesh@xxxxxxxxx>
Date: Thu, 3 Jul 2008 10:36:57 +0530
 Validation XSLT using XSLT 1.0
Dear All,

I am writing a validation style sheet. I am struck at following point
in my validation. Can anyone point me to solution.

1. I want to validate the @picfile value is equal to entity name and
tiff images must be equal to the actual images file name on the image
folder.

My question is how to get entity name and value in to a test.

<!ENTITY I9780073379470_A_TB004 SYSTEM "9780073379470_A_TB004.tif" NDATA TIFF>

<graphic picfile="I9780073379470_A_TB004"/>

2. In the XML file we are using named entities eg:- &nbsp; &acute;
instead of &#123; or &#x123; in XSLT how to find if the XML file
contains entities other than named entities?

3. How to find non-ascii characters in the XML file and report an
error using XSLT.

4. How to find double enters in the XML file and report an error using XSLT.

I could able to write around 45 validation points using XSLT but got
struck with these 4. Please help me resolving these issues.

Regards,
Ganesh

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.