Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML 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 January 27th, 2007, 08:21 AM
Authorized User
 
Join Date: Dec 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Opening XML. Its too urgent

Hi,
I have an XML file. Simply what I want is if this XML file opens I want to open an other XML file instead of it. What should I write in XMLFILE1.XML that if some body opens XMLFILE1.XML another file named XMLFILE2.XML should open.
Thanks
Dhara

__________________
Dharmendra
Software Engineer
 
Old January 27th, 2007, 12:22 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Not quite sure what you are trying to achieve here. But you might be able to achieve your aim using external entities, e.g. if XMLFILE1.XML is coded as:

<!DOCTYPE doc[
<!ENTITY e SYSTEM "XMLFILE2.XML">
]>
<doc>&e;</doc>

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old January 29th, 2007, 05:27 AM
Authorized User
 
Join Date: Dec 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,
Thanks for ur reply. I m getting the ontent of XMLFILE2.XML when openning XMLFILE1.XML.. Only one more think that I want is the URL of browser, which is opening this file, is still XMLFILE1.XML and I want that content should also be of XMLFILE2.XML and URL should also be of XMLFILE2.XML.

Thanks again
Dharmendra






Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening XML with Excel boblavinsky XSLT 0 January 11th, 2007 09:18 PM
Xml to XML using XSLT (urgent) [email protected] XSLT 1 December 30th, 2005 01:48 PM
Problem Opening Form1.xml alfyk20vtec Infopath 1 December 19th, 2005 05:24 AM
C# with XML. Urgent!Please Help! jayce C# 13 October 10th, 2003 01:43 AM





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