Message Boards

« Back to 2.- Usage ( From Xml file to CRUD Portlet)

Is it possible to have more than 1 xml & to make relationship between them.

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi Community,

Is it possible to have more than 1 xml & to make relationship between them.
Idea: Can we have a import tag in the 2nd XML to import all applications what we created in 1st XML.& give them relationship using detailFiles element.
This may be helpful for code readability & re-usability. But im not sure this would be a good Idea.

Regards,
Chethan

RE: Is it possible to have more than 1 xml & to make relationship between t
Answer
12/6/11 7:00 PM as a reply to chethan dhananjaya.
Hello chethan,


I have been making some tests, and didnt get it to work, it a good idea but, if you get into this, remember, that there is only one "projectName" in the xml definition, and all tables will get this value as namespace (see service builder).

Let us know if you get some results.

Saludos, Jack.

Pd. : I tried by making files with one application definition each, and in the main xml, putting some sintax like this:

1<!DOCTYPE page [
2<!ENTITY classrooms SYSTEM "SchoolCourse_Classrooms.xml">
3]>


and this where the application is supposed to go:

1&classrooms;

RE: Is it possible to have more than 1 xml & to make relationship between t
Answer
4/18/12 11:57 AM as a reply to chethan dhananjaya.
Yes..I hope..We have..using more than one xml..with what u said..import t ag..


XSLT is the technology..comes into picture..here..emoticon


Thanks and regards,
Sheela MK