• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

referencing another xml

 
jonathan Greens
Ranch Hand
Posts: 139
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,
I have two xmls:

how would I link all the elements of personx.xml to Department.xml, I understand that you can use xslt. But that involves running xml transform from another application and producing a new xml file(correct?).
is there a way to link it statically? Persons.xml doesn't have to have the root element.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can "import" the persons.xml document by specifying an ENTITY and referencing it with &MyPersonsDoc;
 
jonathan Greens
Ranch Hand
Posts: 139
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. But I want to use xml schema instead of dtd, and entity has to be declared within a dtd. IS there any other way?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic