How to replace xml tag with DTD object
I can replace xml attribute values using DTD Entity declaration using following method
//in DTD
<!ENTITY varchar "VARCHAR(200)">
// In xml
<column name="attachment_url" type="&varchar;"/>
Now I want to replace the xml tag like
<column name="attachment_url" type="VARCHAR(200)"/>
using a DTD object.
I am doing my best
<!ENTITY full_coulumn "<column name="attachment_url" type="VARCHAR(200)"/>">
then I get the error
Unexpected column with text: <column name="attachment_url" type="VARCHAR(200)
"/>
Is it possible to replace the whole xml tag with dtd Entity? How can i do this?
I am trying to do this using a Liquibase xml file.
0
source to share