Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 31st, 2008, 04:22 PM
Friend of Wrox
Join Date: Jun 2008
Posts: 291
Thanks: 9
Thanked 29 Times in 29 Posts
Default Processing ENTITY and NOTATION lines in xml

Hi All,

I face problems in getting the ENTITY and NOTATION lines in the input xml file to the output xml file. Is there any way? I can produce all these lines with tough, but I cant get the NOTATION value from the input
<!ENTITY Figure10 SYSTEM "Visio1.tif" NDATA tiff> (I mean the text 'tiff'present at the end) line. Is there any way?
Any help is appreciated.


Old July 31st, 2008, 06:06 PM
mhkay's Avatar
Wrox Author
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts

No, sorry, this information isn't passed by the XML parser to the XSLT processor so there is no way you can access it. The only possibility (it's pretty desperate) is to read the file using unparsed-text() (in XSLT 2.0) and parse out the relevant DTD declarations yourself.

Michael Kay
Author, XSLT 2.0 and XPath 2.0 Programmer's Reference
Old August 1st, 2008, 01:24 PM
Friend of Wrox
Join Date: Jun 2008
Posts: 291
Thanks: 9
Thanked 29 Times in 29 Posts

Thank you. But Im working with graphics. I dont need to read that file. I just need the notation value from ENTITY declaration in the input file. Is there any other way?

Similar Threads
Thread Thread Starter Forum Replies Last Post
ENTITY AND NOTATION IN XSLT mrame XSLT 5 July 29th, 2008 04:28 PM
DTD Notation, specificlly <!ENTITY> refs mphare XSLT 3 April 29th, 2008 08:57 PM
Saxon - run-time error during processing entity ROCXY XSLT 1 June 29th, 2007 04:39 AM
xml <!ENTITY..... anpham ASP.NET 1.0 and 1.1 Basics 0 June 28th, 2005 09:02 PM
xml parameter entity yengzhai XML 2 April 10th, 2005 12:54 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.