开发者

How to create a value reference in xml

开发者 https://www.devze.com 2023-04-12 04:06 出处:网络
I wish to create an xml file where one element value is depends on other value. for example: <Server>serverName</Server>

I wish to create an xml file where one element value is depends on other value. for example:

<Server>serverName</Server>
<Port>8080</Po开发者_如何学JAVArt>
<Address>http://[value of Server]:[value of Port]/lib

i guess it can be achived with schema or dtd but i just couldnt find how to do that....


XML doesn't support this sort of thing in general. There's just no way to do it.

0

精彩评论

暂无评论...
验证码 换一张
取 消