|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] CDATA sections
Dear all, I am thinking of using CDATA sections for snippets of perl code that exist on the pages of my document. However, I didn't want me or anyone creating my documents to have to type out <![CDATA[ and ]]> everytime because it is tiresome and prone to errors. I thought that giving these sections a more meaningful and shorter name would get rid of errors, so I created entities -- but they don't work. Perhaps what I am trying to do just can't be done, but any ideas or pointers would be greatly appreciated. Thanks in advance. snippets of my xml look like this: <page> Here is my page and I have some &startcode; code right here &endcode; that I will be using later </page> snippets of my dtd look like this: <!ELEMENT page (#PCDATA)> <!ENTITY startcode "<![CDATA["> <!ENTITY endcode "]]>">
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








