> 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.
I don't think it's valid, actually. I think the syntax for linking to a stylesheet is "xml-stylesheet", not "xml:stylesheet". The colon is used for namespace prefixes. http://www.w3.org/TR/xml-stylesheet/ Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224966 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

