I've got some xml files that have the following header  before the main data:

<?xml version="1.0" ?>
<?xml:stylesheet type="text/xsl" href="supplier.xsl" ?>
<!DOCTYPE purchaseorder SYSTEM "supplier.dtd">

All of this is valid and is parsed by the client's supplier and xmlparse() will 
happily parse this, but only if I remove the <?xml:stylesheet ... ?> tag.

Should xmlparse() be able to handle this?  

If it can't, any suggestions on how I can parse this without having to hack 
apart the xml?

Regards

Stephen

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224965
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to