i'm using express to make a electronic document management (EDMS) in node.js.
After the user login, I'll have a simple box, where he's chosee between two options: a. search XML files b. search Other Documents files
is there a way to create specific routing for, if he chooses to go only with XML, all links i'll be under that routing?
Something like xml/home/
and otherDocuments/home/
and the rest of the methods ill be xml/something
and otherDocuments/something
?