Take a look at this:
By the way, I marked (the tag that includes) position 2854 (in the code that the tag is inside).
Is it okay to use a couple of clauses that are dependent of each others like this (in order to convey the right meaning)?
Take a look at this:
By the way, I marked (the tag that includes) position 2854 (in the code that the tag is inside).
Is it okay to use a couple of clauses that are dependent of each others like this (in order to convey the right meaning)?
It is not necessary (i.e., you can have parentheses with unrelated content in the same sentence), but it would be generally understood, as long as the structure of the sentence is not too long or complicated (otherwise people will start to get lost). It is typically used for indicating alternatives, such as:
I was quite surprised by the intense heat in Rio (and Sao Paulo too), as it can reach 45°C easily (50°C in Sao Paulo).
As long as the sentence reads correctly when all material in parentheses is removed, I think it's fine. I'm not aware of any rule that says that one parenthetical phrase cannot refer to another.